- From: Adam Rice <notifications@github.com>
- Date: Fri, 13 Sep 2019 00:22:05 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 September 2019 07:22:26 UTC
When a source blocks inside `pull()`, it is not possible to cancel the ReadableStream until the promise returned by `pull()` settles. In some cases `pull()` may never return. However, it is not necessary to block in `pull()`. In many (most?) cases, returning an already-resolved promise from `pull()` and then enqueueing later to trigger the next call to `pull()` works fine. This should be clarified in the description of underlying source. -- 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/1014
Received on Friday, 13 September 2019 07:22:26 UTC