Module

std/node/fs.ts>WriteStream#close

Deno standard library
Go to Latest
method WriteStream.prototype.close
import { WriteStream } from "https://dotland.deno.dev/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