Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Properties

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

Methods

  • abort(reason?: any): Promise<void>
  • Parameters

    • Optional reason: any

    Returns Promise<void>

  • close(): Promise<void>
  • Returns Promise<void>

  • releaseLock(): void
  • Returns void

  • write(chunk?: W): Promise<void>
  • Parameters

    • Optional chunk: W

    Returns Promise<void>

Generated using TypeDoc