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 <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and ZYSzys committed Jun 5, 2019
1 parent 2a2005c commit 1279e25
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 1279e25

Please sign in to comment.