ExchangeFn
type ExchangeFn<S> = (state, input, out) => Promise<void> | void;Defined in: src/types.ts:209
Called once per input batch. Must emit exactly one output batch per call.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
S |
any |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
state |
S |
input |
VgiBatch |
out |
OutputCollector |
Returns
Section titled “Returns”Promise<void> | void
