pub trait OverseerGen {
    // Provided method
    fn generate<Spawner, RuntimeClient>(
        &self,
        connector: OverseerConnector,
        args: OverseerGenArgs<'_, Spawner, RuntimeClient>
    ) -> Result<(Overseer<SpawnGlue<Spawner>, Arc<DefaultSubsystemClient<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§

source

fn generate<Spawner, RuntimeClient>( &self, connector: OverseerConnector, args: OverseerGenArgs<'_, Spawner, RuntimeClient> ) -> Result<(Overseer<SpawnGlue<Spawner>, Arc<DefaultSubsystemClient<RuntimeClient>>>, OverseerHandle), Error>where RuntimeClient: 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block> + AuxStore, RuntimeClient::Api: ParachainHost<Block> + BabeApi<Block> + AuthorityDiscoveryApi<Block>, Spawner: 'static + SpawnNamed + Clone + Unpin,

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

Implementors§