Function polkadot_service::overseer::dummy_overseer_builder
source · pub fn dummy_overseer_builder<Spawner, SupportsParachains>(
spawner: Spawner,
supports_parachains: SupportsParachains,
registry: Option<&Registry>,
) -> Result<OverseerBuilder<Init<SpawnGlue<Spawner>>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<DummySubsystem>, Init<HashMap<H256, Vec<Sender<Result<(), SubsystemError>>>>>, Init<HashMap<H256, u32>>, Init<SupportsParachains>, Init<Metrics>>, SubsystemError>where
SpawnGlue<Spawner>: Spawner + 'static,
SupportsParachains: HeadSupportsParachains,
Expand description
Create an overseer with all subsystem being Sub
.
Preferred way of initializing a dummy overseer for subsystem tests.