Function runEventLoopOnce
Wait once for events and process them.
Parameters
Name | Description |
---|---|
timeout | Maximum amount of time to wait for an event. A duration of
zero will cause the function to only process pending events. A
duration of Duration , if necessary, will wait indefinitely
until an event arrives. |