- From: Borewit <notifications@github.com>
- Date: Sat, 04 May 2019 07:52:45 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 4 May 2019 14:53:08 UTC
Thank a lot @MattiasBuelens for your explanation. I think you are absolutely right, it is caused on my end, by a second read. But I think the issue is even simpler to solve. It's a node stream calling _Web-API ReadableStream-read_. The __read()_ (Node stream implementation) will not call another _read until data is pushed. The second read is result "in the same call" as the push. To it looks like simply deleting the cached `this.promise` **before** pushing data into the Node-readable-queue solves the issue. -- 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/1000#issuecomment-489333826
Received on Saturday, 4 May 2019 14:53:08 UTC