You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
The following code simply increments number asynchronously 1000 times. I assumed the parallel transform emits a finish event after all data consumption but is didn't.
The following code simply increments number asynchronously 1000 times. I assumed the parallel transform emits a
finishevent after all data consumption but is didn't.This is not pleasant especially when we use libs such as
pumpthat calls a callback function depending onfinishevent.It seems that it emits
finishafter all writable data is buffered instead of consumed.This problem occurs also in
parallel-streammodule.Also, when we do
readable.pipe(parallelTransform).pipe(writable), writable emitsfinishearlier than expected.It is likely that we have to dig more in private methods of Node Stream.