[JoinSet::spawn_on](tokio::task::JoinSet::spawn_on) - Spawn a task on a provided runtime.
(&mut self, task: F, handle: &Handle)
| 68 | |
| 69 | /// [JoinSet::spawn_on](tokio::task::JoinSet::spawn_on) - Spawn a task on a provided runtime. |
| 70 | pub fn spawn_on<F>(&mut self, task: F, handle: &Handle) -> AbortHandle |
| 71 | where |
| 72 | F: Future<Output = T>, |
| 73 | F: Send + 'static, |
| 74 | T: Send, |
| 75 | { |
| 76 | self.inner.spawn_on(trace_future(task), handle) |
| 77 | } |
| 78 | |
| 79 | /// [JoinSet::spawn_local](tokio::task::JoinSet::spawn_local) - Spawn a local task. |
| 80 | pub fn spawn_local<F>(&mut self, task: F) -> AbortHandle |
nothing calls this directly
no test coverage detected