WebIDLpedia

WritableStreamDefaultWriter interface

Definition

Streams Standard defines WritableStreamDefaultWriter



[Exposed=*]
interface WritableStreamDefaultWriter {
  constructor(WritableStream stream);

  readonly attribute Promise<undefined> closed;
  readonly attribute unrestricted double? desiredSize;
  readonly attribute Promise<undefined> ready;

  Promise<undefined> abort(optional any reason);
  Promise<undefined> close();
  undefined releaseLock();
  Promise<undefined> write(optional any chunk);
};

Methods and attributes that return objects implementing WritableStreamDefaultWriter

Referring IDL interfaces/dictionaries

Referring specifications