pub trait OverseerGen {
    fn generate<'a, Spawner, RuntimeClient>(
        &self,
        connector: OverseerConnector,
        args: OverseerGenArgs<'a, Spawner, RuntimeClient>
    ) -> Result<(Overseer<SpawnGlue<Spawner>, Arc<RuntimeClient>>, OverseerHandle), Error>
    where
        RuntimeClient: 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block> + AuxStore,
        RuntimeClient::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>,
        Spawner: 'static + SpawnNamed + Clone + Unpin
, { ... } }
Expand description

Trait for the fn generating the overseer.

Default behavior is to create an unmodified overseer, as RealOverseerGen would do.

Provided Methods§

Overwrite the full generation of the overseer, including the subsystems.

Implementors§