Skip to main content

PendingWaker

Type Alias PendingWaker 

pub type PendingWaker = Arc<dyn Fn(ThreadId) + Sync + Send>;
Expand description

Called when local work is queued for a thread (Bus::add_pending_waker), with that thread’s id, on the emitting thread.

Aliased Type§

pub struct PendingWaker { /* private fields */ }