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

Index

Properties

Readonly locked

locked: boolean

Methods

cancel

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

    • Optional reason: any

    Returns Promise<void>

getReader

pipeThrough

pipeTo

tee

  • tee(): []
  • Returns []

Generated using TypeDoc