Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface toWritableStreamOptions
import { type toWritableStreamOptions } from "https://deno.land/std@0.212.0/io/to_writable_stream.ts";

Options for toWritableStream.

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.