Skip to main content

emit

Function emit 

Source
pub fn emit(sink: &UnboundedSender<WorkerEvent>, event: WorkerEvent)
Expand description

Convenience: send an event, ignoring the error if the receiver is gone (e.g. the run was cancelled and the dispatcher dropped its end).