mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: edit filehandle.close() entry in fs.md
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
0eca660948
commit
c62cf1d9c5
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user