Skip to main content

RedrawCallback

Type Alias RedrawCallback 

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

Fire-and-forget redraw signal owned by the controller and invoked from the spawned query task. The host wires this to its event loop (e.g. tx.send(AppEvent::Redraw)).

Aliased Typeยง

pub struct RedrawCallback { /* private fields */ }