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 = any

Hierarchy

  • ReadableStream

Index

Properties

locked: boolean

Methods

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

    • Optional reason: any

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

Generated using TypeDoc