MatchNode

constructor(label: String, mainSource: InputChannel<MainInputT, ChannelT>, sideSource: PullInputChannel<SideInputT>, destination: OutputChannel<OutputT, ChannelT>, combiner: (MainInputT, SideInputT) -> OutputT)

Parameters

MainInputT

the type of main input entities

SideInputT

the type of side input entities

OutputT

the type of combined output entities

ChannelT

the channel type (Push or Pull)

label

the name of this node

mainSource

the main input channel from which entities are received

sideSource

the side input channel from which entities are pulled

destination

the output channel where combined entities are sent

combiner

the function that combines main and side entities into output entities