Skip to main content

Waker

Type Alias Waker 

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

Something that wakes the app’s event loop (an egui request_repaint, a winit proxy event). Called from background threads after a new event was queued.

Aliased Type§

pub struct Waker { /* private fields */ }