Re: [streams] rsReader.readBatch(numberOfChunks)? rbsReader.read(view, { waitUntilDone: true })? (#320)

> The trick is to not actually be async at all---just like microtasks are in some sense "not actually async." Microtasks run a loop after exiting user code. If we just abstract the definition of "user code" to be "this code over here, but not this code over here" (like Angular does), we can program this in JavaScript.

Interested, but with the caveat that dropping the js-to-c++ transition may not be indicative of actual native promise performance.  (Although I think someone told me this week chrome promises were self hosted.)

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/320#issuecomment-91694509

Received on Friday, 10 April 2015 21:21:08 UTC