Trait near_async::futures::AsyncComputationSpawnerExt

source ·
pub trait AsyncComputationSpawnerExt {
    // Required method
    fn spawn(&self, name: &str, f: impl FnOnce() + Send + 'static);
}

Required Methods§

source

fn spawn(&self, name: &str, f: impl FnOnce() + Send + 'static)

Object Safety§

This trait is not object safe.

Implementors§