pub fn spawn<F>(future: F) -> TaskHandle<F::Output>
where
    F: Future<Output = ()> + Send + 'static,
{
    return spawn_inner(future, async {});
}
/// Spawns a new cancelable task returning [`TaskHandle`] for it.
Spawns a new cancelable task returning [`TaskHandle`] for it.
Spawns a new cancelable task returning [ ` TaskHandle ` ] for it .
pub fn spawn<F>(future: F) -> TaskHandle<F::Output>
where
    F: Future<Output = ()> + Send + 'static,
{
    return spawn_inner(future, async {});
}
pub fn spawn < F > ( future : F ) -> TaskHandle < F :: Output > where F : Future < Output = ( ) > + Send + ' static , { return spawn_inner ( future , async { } ) ; }
Spawns a new cancelable task returning [`TaskHandle`] for it.
Spawns a new cancelable task returning [ ` TaskHandle ` ] for it .
future
F
future
F