• Compression Streams API
  • Console and Debugging
  • DOM APIs
  • DOM Events
  • Encoding API
  • Fetch API
  • Fleek Node API
  • Observability
  • Scheduling
  • Streams API
  • Timers
  • Typed Arrays
  • Web APIs
  • Web Crypto API
  • Web File API
  • WebAssembly
  • WebGPU
  • WebSockets
  • Uncategorized
  • view all 376 symbols
  • Fleek Runtime APIs
  • Streams API
    • WritableStreamDefaultWriter
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

W = any

Properties

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

Methods

abort(reason?: any): Promise<void>
close(): Promise<void>
releaseLock(): void
write(chunk: W): Promise<void>
variable WritableStreamDefaultWriter

Properties

readonly
prototype: WritableStreamDefaultWriter

Document Navigation

  • Type Parameters
    • W
  • Properties
    • closed
    • desiredSize
    • ready
  • Methods
    • abort
    • close
    • releaseLock
    • write
  • Properties
    • prototype