Function spawn_local
pub fn spawn_local(fut: impl Future<Output = ()> + 'static)
Expand description
Spawns a !Send
future.
This will not auto cancel the task if the scope in which it is created is destroyed.
For this purpose, use spawn_local_scoped
instead.