Skip to content

ExchangeFn

type ExchangeFn<S> = (state, input, out) => Promise<void> | void;

Defined in: src/types.ts:204

Called once per input batch. Must emit exactly one output batch per call.

Type ParameterDefault type
Sany
ParameterType
stateS
inputVgiBatch
outOutputCollector

Promise<void> | void