Re: [whatwg/streams] Editorial: use dictionaries for { value, done } and eliminate "forAuthorCode"? (#1036)

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