method WriteStream.prototype.closeimport { WriteStream } from "https://dotland.deno.dev/std@0.177.0/node/fs.ts"; close(callback?: (err?: ErrnoException | null) => void): voidCloses writeStream. Optionally accepts a callback that will be executed once the writeStreamis closed. Closes writeStream. Optionally accepts a callback that will be executed once the writeStreamis closed. Parametersoptionalcallback: (err?: ErrnoException | null) => voidReturnsvoid