[][src]Trait sp_core::traits::SpawnBlocking

pub trait SpawnBlocking {
    fn spawn_blocking(&self, name: &'static str, future: BoxFuture<'static, ()>);
}

Something that can spawn a blocking future.

Required methods

fn spawn_blocking(&self, name: &'static str, future: BoxFuture<'static, ()>)

Spawn the given blocking future.

The given name is used to identify the future in tracing.

Loading content...

Implementors

impl SpawnBlocking for SpawnBlockingExecutor[src]

Loading content...