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

x/deno/ext/web/lib.deno_web.d.ts>WritableStream

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface WritableStream
import { type WritableStream } from "https://deno.land/x/deno@v1.39.0/ext/web/lib.deno_web.d.ts";

This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.

Type Parameters

optional
W = any

Properties

readonly
locked: boolean

Methods

abort(reason?: any): Promise<void>
close(): Promise<void>
variable WritableStream
import { WritableStream } from "https://deno.land/x/deno@v1.39.0/ext/web/lib.deno_web.d.ts";

type

{ readonly prototype: WritableStream; new <W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>; }