pub fn dispatch_thread_events()
Expand description

Dispatch system events in the current thread. This method will pause the thread until there are events to process.