Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/typing/lib.dom.ts>ReadableStream

Deno Standard Extensions
Go to Latest
interface ReadableStream
import { type ReadableStream } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

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

optional
R = any

Properties

readonly
locked: boolean

Methods

cancel(reason?: any): Promise<void>
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>