diff --git a/doc/api/fs.md b/doc/api/fs.md index c31b14ce69cb7e..0d2121b935180c 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -5905,6 +5905,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`