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:

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