Skip to main content

close

method WriteStream.prototype.close
Jump to headingWriteStream.prototype.close(callback?: (err?: ErrnoException | null) => void): void

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

Parameters Jump to heading

optional
Jump to headingcallback: (err?: ErrnoException | null) => void

Return Type Jump to heading

void
Back to top