Function polkadot_node_subsystem::spawn
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<Pin<Box<dyn Future<Output = Result<(), SubsystemError>> + Send>>>,
) -> Result<OrchestratedSubsystem<M>, SubsystemError>
Expand description
Spawn task of kind self
using spawner S
.