method WriteStream.prototype.close Usage in Denoimport { WriteStream } from "node:fs"; WriteStream.prototype.close(callback?: (err?: ErrnoException | null) => void): void Closes writeStream. Optionally accepts a callback that will be executed once the writeStreamis closed. Parameters optional callback: (err?: ErrnoException | null) => void Return Type void