Skip to content

Commit

Permalink
doc: remove "encouraged" as hedging in fs.md
Browse files Browse the repository at this point in the history
PR-URL: #28027
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Trott authored and BridgeAR committed Jun 17, 2019
1 parent df22b96 commit e3f905a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ fs.rename('/tmp/hello', '/tmp/world', (err) => {
});
```

In busy processes, the programmer is _strongly encouraged_ to use the
asynchronous versions of these calls. The synchronous versions will block
the entire process until they complete — halting all connections.
In busy processes, use the asynchronous versions of these calls. The synchronous
versions will block the entire process until they complete, halting all
connections.

While it is not recommended, most fs functions allow the callback argument to
be omitted, in which case a default callback is used that rethrows errors. To
Expand Down

0 comments on commit e3f905a

Please sign in to comment.