[][src]Function native_windows_gui::dispatch_thread_events_with_callback

pub fn dispatch_thread_events_with_callback<F>(cb: F) where
    F: FnMut() + 'static, 

Dispatch system evetns in the current thread AND execute a callback after each peeking attempt. Unlike dispath_thread_events, this method will not pause the thread while waiting for events.