Skip to main content
Deno 2 is finally 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.220.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.