Interface WritableStreamDefaultWriter<W>

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

  • W = any

Hierarchy

  • WritableStreamDefaultWriter

Properties

closed: Promise<undefined>
desiredSize: number
ready: Promise<undefined>

Methods

  • Parameters

    • Optional reason: any

    Returns Promise<void>

  • Parameters

    • Optional reason: any

    Returns Promise<void>

  • Returns Promise<void>

  • Returns Promise<void>

  • Returns void

  • Returns void

  • Parameters

    • Optional chunk: W

    Returns Promise<void>

  • Parameters

    • Optional chunk: W

    Returns Promise<void>

Generated using TypeDoc