Skip to main content

spawn

Function spawn 

Source
pub fn spawn(
    bus: Arc<EventBus>,
    renderer: Box<dyn OutputRenderer>,
) -> JoinHandle<()>
Expand description

Spawn the subscriber task. Returns a join handle the orchestrator awaits at shutdown so the BuildEnd event is fully drained.