chickadee » stfl » run!

run! form timeoutprocedure

Performs an event loop iteration for FORM and returns a textual event description. It may be #f if no event happened or "TIMEOUT" if no event has been handled. The TIMEOUT argument is a timeout in milliseconds. There are a number of special timeout values:

Disable timeout and wait indefinitely until the next event
Update the form and return immediately with #f
Update the form and return the next pending event or #f
Rerender the form, but don't update the screen and don't fetch events