WebIDLpedia

WritableStream interface

Definition

Streams Standard defines WritableStream



[Exposed=*, Transferable]
interface WritableStream {
  constructor(optional object underlyingSink, optional QueuingStrategy strategy = {});

  readonly attribute boolean locked;

  Promise<undefined> abort(optional any reason);
  Promise<undefined> close();
  WritableStreamDefaultWriter getWriter();
};

Methods and attributes that return objects implementing WritableStream

Referring IDL interfaces/dictionaries

Referring specifications