[−][src]Trait sp_core::traits::SpawnNamed
Something that can spawn futures (blocking and non-blocking) with am assigned name.
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.
fn spawn(&self, name: &'static str, future: BoxFuture<'static, ()>)
Spawn the given non-blocking future.
The given name
is used to identify the future in tracing.