pub fn spawn_monitored_task<F, Fut>(
task_id: u32,
task_name: impl Into<String>,
error_tx: Sender<StreamError>,
run: F,
) -> JoinHandle<()>Expand description
Run run on an inner task; propagate Err, panic, or cancellation to error_tx.