Skip to main content

emit_failed

Function emit_failed 

Source
pub async fn emit_failed(task_id: impl Into<String>, error: impl Into<String>)
Expand description

Emit a StreamEvent::TaskFailed on the ambient stream.