Function EventDriverCore.processEvents
Runs the event loop to process a chunk of events.
This method optionally waits for an event to arrive if none are present in the event queue. The function will return after either the specified timeout has elapsed, or once the event queue has been fully emptied.
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. |