Trait near_async::futures::FutureSpawnerExt

source ·
pub trait FutureSpawnerExt {
    // Required method
    fn spawn<F>(&self, description: &'static str, f: F)
       where F: Future<Output = ()> + Send + 'static;
}

Required Methods§

source

fn spawn<F>(&self, description: &'static str, f: F)
where F: Future<Output = ()> + Send + 'static,

Object Safety§

This trait is not object safe.

Implementors§