diff --git a/doc/api/fs.md b/doc/api/fs.md index edd7054d6aab36..f085409d3b6056 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -5948,6 +5948,18 @@ added: v0.4.7 The number of bytes written so far. Does not include data that is still queued for writing. +#### `writeStream.close([callback])` + + +* `callback` {Function} + * `err` {Error} + +Closes `writeStream`. Optionally accepts a +callback that will be executed once the `writeStream` +is closed. + #### `writeStream.path`