Trait silkenweb::value::Executor

source ·
pub trait Executor {
    // Required method
    fn spawn(&mut self, future: impl Future<Output = ()> + 'static);
}
Expand description

A type that can spawn futures.

Required Methods§

source

fn spawn(&mut self, future: impl Future<Output = ()> + 'static)

Object Safety§

This trait is not object safe.

Implementors§