- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 04 Jun 2021 05:49:53 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 4 June 2021 12:51:52 UTC
@domenic commented on this pull request.
> @@ -4252,6 +4268,10 @@ The following abstract operations operate on {{WritableStream}} instances at a h
id="writable-stream-abort">WritableStreamAbort(|stream|, |reason|)</dfn> performs the following
steps:
+ 1. If |stream|.[=WritableStream/[[state]]=] is "`closed`" or "`errored`", return
+ [=a promise resolved with=] undefined.
+ 1. [=Signal abort=] on
I guess technically it could throw if some spec added a throwing algorithm to the "abort algorithms" list, but that seems unlikely. I filed https://github.com/whatwg/dom/issues/984 on making it impossible.
--
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/1132#discussion_r645543761
Received on Friday, 4 June 2021 12:51:52 UTC