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 WritableStreamFromWriterOptions
Deprecated
Deprecated

(will be removed after 1.0.0) Use toWritableStream instead.

import { type WritableStreamFromWriterOptions } from "https://deno.land/std@0.220.0/streams/writable_stream_from_writer.ts";

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.