- From: Adam Rice <notifications@github.com>
- Date: Mon, 05 Apr 2021 14:04:04 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 5 April 2021 21:04:17 UTC
@ricea commented on this pull request. > + {{Promise}} that fulfills when the pipe completes, or rejects with an exception if it fails. + + 1. Assert: ! [$IsReadableStreamLocked$](|readable|) is false. + 1. Assert: ! [$IsWritableStreamLocked$](|writable|) is false. + 1. Let |signalArg| be |signal| if |signal| was given, or undefined otherwise. + 1. Return ! [$ReadableStreamPipeTo$](|readable|, |writable|, |preventClose|, |preventAbort|, + |preventCancel|, |signalArg|). + + <p class="note">If one doesn't care about the promise returned, referencing this concept can be a + bit awkward. The best we can suggest is "[=ReadableStream/pipe=] <var ignore>readable</var> to <var + ignore>writable</var>".</p> +</div> + +<div algorithm="ReadableStream pipe through"> + The result of a {{ReadableStream}} |readable| <dfn export for="ReadableStream" lt="pipe + through|piping through">piped through</dfn> a {{TransformStream}} |transform|, given an optional That's reasonable. -- 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/1113#discussion_r607332732
Received on Monday, 5 April 2021 21:04:17 UTC