The first chunk of a stream gets returned through the callback which ends up also calling the callback that async.js uses to signal the completion of a particular phase.
This causes the async.js phase to end prematurely and the rest of the stream ends up either ignored or occurring outside the expected flow-control.
The first chunk of a stream gets returned through the callback which ends up also calling the callback that async.js uses to signal the completion of a particular phase.
This causes the async.js phase to end prematurely and the rest of the stream ends up either ignored or occurring outside the expected flow-control.