[whatwg/streams] Should the "set up" algorithm for IDL-created WritableStreams wrap the write algorithm? (Issue #1253)

Currently it wraps all others except the write one:

https://streams.spec.whatwg.org/#writablestream-set-up

>Perform ! [SetUpWritableStreamDefaultController](https://streams.spec.whatwg.org/#set-up-writable-stream-default-controller)(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithmWrapper, abortAlgorithmWrapper, highWaterMark, sizeAlgorithm).

Perhaps because writeAlgorithm is required here, but then TransformStream does wrap the transform algorithm.

https://streams.spec.whatwg.org/#transformstream-set-up

>Let transformAlgorithmWrapper be an algorithm that runs these steps given a value chunk:

Should WritableStream do the same?

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

Message ID: <whatwg/streams/issues/1253@github.com>

Received on Monday, 30 January 2023 13:05:29 UTC