- From: Ben Kelly <notifications@github.com>
- Date: Mon, 08 Jul 2019 08:26:24 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 8 July 2019 15:26:47 UTC
> If we switch to callbacks, we will probably just run into the problem of the callback being called too often. FWIW, I did some prototyping to try to benchmark this before streams were standardized: https://blog.wanderview.com/blog/2015/06/19/evaluating-streams-api-async-read/ I'm sure there are a lot of problems with what I did, but I think the conclusion was that promises were no worse than callbacks in the end. So I suspect you are correct better chunking is the answer. -- 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/757#issuecomment-509272667
Received on Monday, 8 July 2019 15:26:47 UTC