pub fn spawn<T>(&self, task: T) -> JoinHandle<T::Output>
    where
        T: Future + Send + 'static,
        T::Output: Send + 'static,
    {
        self.handle.spawn(task)
    }
/// Spawns a new asynchronous task, returning a tokio::JoinHandle for it.
/// Same as tokio::runtime.spawn.
Spawns a new asynchronous task, returning a tokio::JoinHandle for it.
Spawns a new asynchronous task returning a tokio :: JoinHandle for it .
pub fn spawn<T>(&self, task: T) -> JoinHandle<T::Output>
    where
        T: Future + Send + 'static,
        T::Output: Send + 'static,
    {
        self.handle.spawn(task)
    }
pub fn spawn < T > ( & self , task : T ) -> JoinHandle < T :: Output > where T : Future + Send + ' static , T :: Output : Send + ' static , { self . handle . spawn ( task ) }
Spawns a new asynchronous task, returning a tokio::JoinHandle for it.
Spawns a new asynchronous task returning a tokio :: JoinHandle for it .
&self
task
T
&self
task
T