Method EventsPending
EventsPending(bool)
Must report whether there are any events pending, or even block waiting for events.
bool EventsPending(bool wait)
Parameters
waitboolIf set to
truewait until an event is available, otherwise return immediately.
Returns
- bool
true, if there were pending events,falseotherwise.