Function polkadot_overseer::dummy::dummy_overseer_builder
source · pub fn dummy_overseer_builder<Spawner, SupportsParachains>(
spawner: Spawner,
supports_parachains: SupportsParachains,
registry: Option<&Registry>
) -> Result<InitializedOverseerBuilder<SpawnGlue<Spawner>, SupportsParachains, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem, DummySubsystem>, 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.