Skip to content

Commit

Permalink
doc: edit filehandle.close() entry in fs.md
Browse files Browse the repository at this point in the history
PR-URL: #34782
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
Trott authored and BethGriggs committed Aug 20, 2020
1 parent 756c058 commit 258f64f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4528,8 +4528,8 @@ added: v10.0.0
file descriptor is closed, or will be rejected if an error occurs while
closing.

Closes the file handle. Will wait for any pending operation on the handle
to complete before completing.
Closes the file handle after waiting for any pending operation on the handle to
complete.

```js
const fsPromises = require('fs').promises;
Expand Down

0 comments on commit 258f64f

Please sign in to comment.