/// Spawn a new task to be run on the global executor.
///
/// Tasks spawned using this method must be threadsafe (implement the `Send` trait),
/// as they may be run on either a singlethreaded or multithreaded executor.
Spawn a new task to be run on the global executor.
Tasks spawned using this method must be threadsafe (implement the `Send` trait),
as they may be run on either a singlethreaded or multithreaded executor.
Spawn a new task to be run on the global executor . Tasks spawned using this method must be threadsafe ( implement the ` Send ` trait ) as they may be run on either a singlethreaded or multithreaded executor .
pub fn spawn<F>(future: F)
where
    F: Future<Output = ()> + Send + 'static,
{
    Inner::spawn(&EHandle::local().inner, FutureObj::new(Box::new(future)));
}
pub fn spawn < F > ( future : F ) where F : Future < Output = ( ) > + Send + ' static , { Inner :: spawn ( & EHandle :: local ( ) . inner , FutureObj :: new ( Box :: new ( future ) ) ) ; }
Spawn a new task to be run on the global executor.
Spawn a new task to be run on the global executor .
future
F