- From: Adam Rice <notifications@github.com>
- Date: Wed, 29 Aug 2018 17:52:22 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 30 August 2018 00:52:43 UTC
@devsnek The default Reader for a ReadableByteStream is still a ReadableStreamDefaultReader, so we don't need to block on BYOB support. I can't see a way to do bring-your-own-buffer async iterators, as there's no way to supply a buffer to the iterator. --- ```javascript iterator.return(); // can't unlock, since read is still pending... what now? ``` Can we throw in this case? IIUC, it won't happen when using the `for await (...)` syntax, only when operating the iterator manually, so it doesn't matter if it's a bit clumsy. -- 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/pull/950#issuecomment-417154249
Received on Thursday, 30 August 2018 00:52:43 UTC