flush_events
flush_events — handles all pending events, then exits.
Returns
The result of executing all
pending events, then exits.
Description
This function ensures that an appropriate event-handling
function is called to handle all pending events from: a
window system (where applicable), other tasks
(interprocess communication messages), timers, or signals.
Upon completion, flush_events causes
the program to exit.
Example
Gamma> flush_events();
(the result of any pending events)
[/user/cogent/bin]$