pub fn spawn<Fut, Name, NameClosure>(
_nc: NameClosure,
future: Fut,
) -> JoinHandle<Fut::Output> ⓘ
Available on crate feature
async
only.Expand description
Spawns a new asynchronous task with a name.
See tokio::task::spawn
and the module docs for more
information.