Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- myStream.read(function handleChunk(chunk) {
- if (!chunk) {
- processDone();
- return;
- }
- processChunk(chunk);
- myStream.read(handleChunk);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement