Skip to main content

drain_pending

Function drain_pending 

Source
pub fn drain_pending()
Expand description

Runs all pending jobs on the current thread, then returns. Safe to call from any thread, but only useful on the main thread — the jobs expect to run there.