- From: Adam Rice <notifications@github.com>
- Date: Mon, 20 Apr 2020 15:04:03 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/streams/pull/1035/review/396827679@github.com>
@ricea commented on this pull request.
I've so far reviewed the preview up to the end of ReadableStream. It's very high quality. I haven't checked that all the links go to the right places. I think we might need to trust in Bikeshed for that.
>
- Note how we don't <code>await</code> the promise returned by {{WritableStreamDefaultWriter/write()}}; this would be
- redundant with <code>await</code>ing the {{WritableStreamDefaultWriter/ready}} promise. Additionally, similar to <a
- href="#example-manual-write-batch">a previous example</a>, we use the <code>.catch(() => {})</code> pattern on the
- promises returned by {{WritableStreamDefaultWriter/write()}}; in this case we'll be notified about any failures
- <code>await</code>ing the {{WritableStreamDefaultWriter/ready}} promise.
+(These are defined as internal methods, instead of as abstract operations, so that they can be
+called polymorphically by the {{Readab
Typo: note
>
- Note how we don't <code>await</code> the promise returned by {{WritableStreamDefaultWriter/write()}}; this would be
- redundant with <code>await</code>ing the {{WritableStreamDefaultWriter/ready}} promise. Additionally, similar to <a
- href="#example-manual-write-batch">a previous example</a>, we use the <code>.catch(() => {})</code> pattern on the
- promises returned by {{WritableStreamDefaultWriter/write()}}; in this case we'll be notified about any failures
- <code>await</code>ing the {{WritableStreamDefaultWriter/ready}} promise.
+(These are defined as internal methods, instead of as abstract operations, so that they can be
+called polymorphically by the {{Readab
`!` is not needed here.
--
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/1035#pullrequestreview-396827679
Received on Monday, 20 April 2020 22:04:21 UTC