Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReadableStream<R>

This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.

Type parameters

  • R

Hierarchy

  • ReadableStream

Properties

locked: boolean

Methods

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

    • Optional reason: any

    Returns Promise<void>

Generated using TypeDoc