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

optional
W = any
[src]

Properties

readonly
closed: Promise<void>
[src]
readonly
desiredSize: number | null
[src]
readonly
ready: Promise<void>
[src]

Methods

abort(reason?: any): Promise<void>[src]
close(): Promise<void>[src]
releaseLock(): void[src]
write(chunk: W): Promise<void>[src]
variable WritableStreamDefaultWriter
{ prototype: WritableStreamDefaultWriter; new (): WritableStreamDefaultWriter; }[src]