Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.WritableStream

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.WritableStream
import { type dom } from "https://deno.land/x/evt@v2.4.18/lib/types/index.ts";
const { WritableStream } = dom;

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>