Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method WriteStream.prototype.close
import { WriteStream } from "https://deno.land/std@0.174.0/node/internal/fs/streams.d.ts";

Closes writeStream. Optionally accepts a callback that will be executed once the writeStreamis closed.

Parameters

optional
callback: (err?: ErrnoException | null) => void