pub async fn emit(event: StreamEvent)
Send an event on the ambient stream, if one is active; a no-op otherwise.