Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/src/fw/generator/deps.ts>streams.WritableStreamFromWriterOptions

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
interface streams.WritableStreamFromWriterOptions
Deprecated
Deprecated

(will be removed after 0.169.0) Import from std/streams/writable_stream_from_writer.ts instead.

import { type streams } from "https://deno.land/x/hex@0.6.5/src/fw/generator/deps.ts";
const { WritableStreamFromWriterOptions } = streams;

Properties

optional
autoClose: boolean = true

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