node-chunking-streams
node-chunking-streams copied to clipboard
Fixes #issue8 - SizeChunker is not wating for chunkStart to finish before running _finishChunk
Fixes issue #8
Ran unit test after the fix. Worked.

:) sorry i missed that part. what do you think now?
Now it is totally broken... Deeper refactoring is required here. We need to split _startIfNeededAndPushData into push and start in a case remainder is 0.
I think I can land your first commit in a separate branch and then refactor it further
Ok. Thanks for looking into it. Nice lib btw.