Readonly_ReadonlyreadyThe ready read-only property of the that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
ReadonlyclosedThe closed read-only property of the the stream errors or the writer's lock is released.
ReadonlydesiredThe desiredSize read-only property of the to fill the stream's internal queue.
The abort() method of the the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
Optionalreason: unknownThe close() method of the stream.
The releaseLock() method of the corresponding stream.
The write() method of the operation.
Optionalchunk: Uint8Array<ArrayBufferLike>
WritableStreamDefaultWriter that multiplexes writes to multiple underlying writers.
FanoutWriteStream broadcasts all write operations to an array of writers simultaneously. All operations (write, close, abort, releaseLock) are applied to all underlying writers. Useful for scenarios like logging to multiple destinations, streaming to multiple consumers, or maintaining redundant copies of stream data.
Example
Example