diff --git a/doc/api/fs.md b/doc/api/fs.md index 4f88ce44027026..d63f0d1a64417a 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -5971,6 +5971,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`