- From: Adam Rice <notifications@github.com>
- Date: Wed, 27 May 2020 18:09:05 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 28 May 2020 01:09:17 UTC
So, concretely, we'd change ReadableStreamDefaultReaderRead() and PullSteps() to take (resolve, reject) callbacks as arguments instead of returning a Promise. And \[[readRequests]] would become a queue for (resolve, reject) pairs rather than promises. Tricky part is: do we call the callbacks synchronously, and risk re-entrancy, or asynchronously, and have to post microtasks somehow. -- 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/1036#issuecomment-635030716
Received on Thursday, 28 May 2020 01:09:17 UTC