Re: [whatwg/streams] The difference between ReadableStream.cancel() and ReadableStreamDefaultReader.cancel()? (#1033)

In the spec, [ReadableStreamCancel](https://streams.spec.whatwg.org/#readable-stream-cancel) calls [ReadableStreamClose](https://streams.spec.whatwg.org/#readable-stream-close), which will resolve all outstanding `read()` promises with `{ done: true, value: undefined }`.

-- 
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/1033#issuecomment-601812555

Received on Friday, 20 March 2020 17:09:48 UTC