Function polkadot_overseer::spawn
source · pub fn spawn<S, M, TK, Ctx, E, SubSys>(
spawner: &mut S,
message_tx: MeteredSender<MessagePacket<M>>,
signal_tx: MeteredSender<OverseerSignal>,
unbounded_meter: Meter,
ctx: Ctx,
subsystem: SubSys,
subsystem_name: &'static str,
futures: &mut FuturesUnordered<BoxFuture<'static, Result<(), SubsystemError>>>,
) -> Result<OrchestratedSubsystem<M>, SubsystemError>
Expand description
Spawn task of kind self
using spawner S
.