diff options
author | Rich Trott <rtrott@gmail.com> | 2019-06-02 17:08:53 +0200 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-06-05 23:18:27 +0800 |
commit | 1279e2530b1db41f2b4135357f4177d08fb33016 (patch) | |
tree | 0e1d51bc6678bece96290bc21b97cd9ef5cd5be6 /doc | |
parent | 2a2005c89c32baec8054e61df5da58ea8e955699 (diff) | |
download | android-node-v8-1279e2530b1db41f2b4135357f4177d08fb33016.tar.gz android-node-v8-1279e2530b1db41f2b4135357f4177d08fb33016.tar.bz2 android-node-v8-1279e2530b1db41f2b4135357f4177d08fb33016.zip |
doc: remove "encouraged" as hedging in fs.md
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/fs.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md index 9d4c335029..f1b7e1ccbb 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -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 |