Function polkadot_node_subsystem::dummy::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<HashMap<H256, Vec<Sender<Result<(), SubsystemError>>, Global>, RandomState>>, Init<HashMap<H256, Arc<Span>, RandomState>>, Init<Vec<(H256, u32), Global>>, Init<HashMap<H256, u32, RandomState>>, Init<SupportsParachains>, Init<LruCache<H256, (), RandomState>>, 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.