Re: [whatwg/streams] What is the expected behaviour of .pipeThrough()? (#765)

Oh, I think I missed your `// _chunk is `undefined` comment.

The issue is that pull() is called whenever a readable stream is created. If you have no data to give back, then don't call controller.enqueue(). But you always need to be prepared for pull() being called.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/765#issuecomment-323541541

Received on Saturday, 19 August 2017 18:59:43 UTC