Trait rotor_tools::compose::Spawner [] [src]

pub trait Spawner {
    type Child: Machine<Seed=Void>;
    type Seed;
    fn spawn(seed: Self::Seed, scope: &mut Scope<Self::Child::Context>) -> Response<Self::Child, Void>;
}

Associated Types

type Child: Machine<Seed=Void>

type Seed

Required Methods

fn spawn(seed: Self::Seed, scope: &mut Scope<Self::Child::Context>) -> Response<Self::Child, Void>

Implementors