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.
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>; }