onMatch

open override fun onMatch(callback: context(Simulator) (MainInputT, SideInputT, OutputT) -> Unit)

Registers a callback to be invoked when entities are matched and combined.

Parameters

callback

the function to invoke with main input, side input, and combined output