Skip to main content

dispatch_sync

Function dispatch_sync 

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

Dispatch an event synchronously (fire and forget).

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