AsyncStdGlobalSpawnExt

Trait AsyncStdGlobalSpawnExt 

Source
pub trait AsyncStdGlobalSpawnExt<A>
where A: Actor,
{ // Required method fn spawn_global(self) -> Address<A>; }
Expand description

An extension trait used to allow ergonomic spawning of an actor onto the global runtime.

Required Methods§

Source

fn spawn_global(self) -> Address<A>

Spawn the actor onto the global runtime

Implementors§