Re: [whatwg/streams] Add WritableStream.write convenience method (PR #1339)

@lucacasonato commented on this pull request.



> @@ -4332,6 +4344,22 @@ as seen for example in [[#example-ws-no-backpressure]].
  1. Return ! [$IsWritableStreamLocked$]([=this=]).
 </div>
 
+<div algorithm>
+ The <dfn id="ws-write" method for="WritableStream">write(|chunk|)</dfn> method steps are:
+
+ 1. Let |result| be ? [$AcquireWritableStreamDefaultWriter$]([=this=]).

I will do that if I can get implementer interest :)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1339#discussion_r1928461297
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1339/review/2572267576@github.com>

Received on Friday, 24 January 2025 10:22:54 UTC