cargo-through
A nodejs package that utilizes Async.cargo for object streams.
;
cargoWorkerFunction
is called sequencialy on each cargo. The cargo consists of all available inputs that were emitted by the stream while working on the previous cargo, capped by maxNumberOfCargoInputs.
Example
$ npm i --save cargo-through
const CargoThrough = ;const stream = ;const actualInputs = ;const cargos = ;;