Skip to main content

enqueue_events

Function enqueue_events 

Source
pub fn enqueue_events(evs: impl IntoIterator<Item = (NodeId, Event)>)
Expand description

Enqueue several events into ONE drain before dispatching. Backends that observe a focus move at a single point (Qt’s focusChanged(old, new), an AppKit first-responder change) deliver the loss+gain pair through this so the pump can dispatch the gain first and a shared group signal never passes through None (docs/focus.md).

Day API ↩ Guides· daybrite.dev