Skip to main content
Module

std/node/fs.ts>WriteStream#close

Deno standard library
Go to Latest
method WriteStream.prototype.close
Re-export
import { WriteStream } from "https://deno.land/std@0.177.0/node/fs.ts";

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

Parameters

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