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 jasnell committed Aug 17, 2020
1 parent 0eca660 commit c62cf1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.md
Expand Up @@ -4548,8 +4548,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 c62cf1d

Please sign in to comment.