Skip to main content

dispatch_sync

Function dispatch_sync 

Source
pub fn dispatch_sync<E>(event: E)
where E: Event + 'static,
Expand description

Dispatch an event synchronously (fire and forget).

This spawns the event handling as a background task and returns immediately.