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

x/dtils/deps.ts>streamUtils.WritableStreamFromWriterOptions

The best unofficial library of utilities for Deno applications
Latest
interface streamUtils.WritableStreamFromWriterOptions
Deprecated
Deprecated

(will be removed after 1.0.0) Use WritableStream directly.

import { type streamUtils } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { WritableStreamFromWriterOptions } = streamUtils;

Properties

optional
autoClose: boolean = true

If the writer is also a Closer, automatically close the writer when the stream is closed, aborted, or a write error occurs.