- From: Takeshi Yoshino <notifications@github.com>
- Date: Tue, 07 Jun 2016 02:32:41 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc:
Received on Tuesday, 7 June 2016 09:33:31 UTC
When writing multiple chunks at once to a writable stream, we could check backpressure signal and error/close synchronously between those write() calls to avoid write()s on backpressured / errored / closed stream. If we throw away `.state`, we cannot do that. We need to schedule a new microtask to do the next write() by then()-ing on `.ready`, `.closed` or the promise returned by the previous `.write()`. I'm asking if this inconvenience is ok or not. --- 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/463#issuecomment-224228701
Received on Tuesday, 7 June 2016 09:33:31 UTC