Closes writeStream. Optionally accepts a callback that will be executed once the writeStreamis closed.
method
fs.WriteStream.close
callback?: (err?: null | ErrnoException) => void
): void;
method
Closes writeStream. Optionally accepts a callback that will be executed once the writeStreamis closed.