Skip to main content

BuildParts

Type Alias BuildParts 

Source
type BuildParts<Chain, Graph, Net, Ct> = (HoprBuilderConfigured<Chain, Graph, Net, Ct>, Sender<IncomingSession>, Option<SessionAdmissionSink>, AbortableList<HoprLibProcess>);
Expand description

What into_parts hands to the shared build path: the configured builder, the two channels the transport is wired to, and the tasks already spawned for them. The admission sink is optional because a node built without a session server has nobody to ask.