pub fn spawn_with_abort<F>(future: F) -> AbortHandleExpand description
Spawn a task and return an abort handle that can be used to cancel it.
On native, this uses tokio’s abort mechanism. On WASM, the abort handle is a no-op since tasks can’t be cancelled.