interface WritableStream
This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in back pressure and queuing.
readonly
locked: boolean
This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in back pressure and queuing.
locked: boolean
WritableStream
class is a global reference for import { WritableStream } from 'node:stream/web'
.
https://nodejs.org/api/globals.html#class-writablestream
globalThis extends { onmessage: any; WritableStream: infer T; } ? T : stream/web