Skip to main content

WritableStreamDefaultWriter

interface WritableStreamDefaultWriter

This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.

Type Parameters Jump to heading

Properties Jump to heading

readonly
Jump to headingclosed: Promise<undefined>
readonly
Jump to headingdesiredSize: number | null
readonly
Jump to headingready: Promise<undefined>
Jump to headingabort(reason?: any): Promise<void>
Jump to headingclose(): Promise<void>
Jump to headingwrite(chunk?: W): Promise<void>
Back to top