Buffer received events. Events are released after
n events have been received or
t time has passed. Both parameters are configurable in Settings -> Parameters.
Processing events in groups can in certain circumstances be cheaper than processing each event one at a time. For example, APIs can be billed per request, thus if multiple events can be handled in single request costs are minimized. Buffering enables many small tasks be grouped so that they may be processed together.
The events received on the
in port are buffered.
When the buffer reaches it's maximum capacity or time limit, the events are released on the
Any values are accepted as input.
The output will be an array of the buffered events.
This function does not listen for, nor emits any events.
Buffered events are released before the containing app is stopped, to ensure they are processed.
A video tutorial can be found here.
Updated 3 months ago