thenMatch
fun <MainInputT, SideInputT, OutputT, ChannelT : ChannelType<ChannelT>> NodeBuilder<MainInputT, ChannelT>.thenMatch(label: String, side: NodeBuilder<SideInputT, ChannelType.Pull>, combiner: (MainInputT, SideInputT) -> OutputT): RegularNodeBuilder<MatchNode<MainInputT, SideInputT, OutputT, ChannelT>, OutputT, ChannelT>
Attaches a match node into the builder chain, which can then be continued after this call.
When used in combination of other nodes, could construct (for example):
within a bounded network -> entry gate that controls vehicle access into a capacity limited region of the port
combined with service node -> ASC loading region, where port vehicles are loaded from containers provided elsewhere in the port
@param combiner Function to combine an instance of
MainInputTwith an instance ofSideInputTfor the node to generate an instance ofOutputT