summaryrefslogtreecommitdiff
path: root/doc/api/worker_threads.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-10-08 19:48:23 -0700
committerRich Trott <rtrott@gmail.com>2018-10-10 20:11:25 -0700
commit623206c2d6e7bb1cb35afeafd457cecedf0b7c3d (patch)
tree82ba26a7694a554dc3f7e6485b904bf9931ace93 /doc/api/worker_threads.md
parentb32d067839ab507c8722d4d9e8ac245ed63dfa0b (diff)
downloadandroid-node-v8-623206c2d6e7bb1cb35afeafd457cecedf0b7c3d.tar.gz
android-node-v8-623206c2d6e7bb1cb35afeafd457cecedf0b7c3d.tar.bz2
android-node-v8-623206c2d6e7bb1cb35afeafd457cecedf0b7c3d.zip
doc: remove personal pronoun from worker_threads
Per the Style Guide, remove the use of the personal pronoun _you_ from the formal API documentation for `worker_threads`. PR-URL: https://github.com/nodejs/node/pull/23347 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Diffstat (limited to 'doc/api/worker_threads.md')
-rw-r--r--doc/api/worker_threads.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md
index 37751c21bb..b73787174c 100644
--- a/doc/api/worker_threads.md
+++ b/doc/api/worker_threads.md
@@ -154,8 +154,8 @@ added: v10.5.0
-->
Disables further sending of messages on either side of the connection.
-This method can be called once you know that no further communication
-will happen over this `MessagePort`.
+This method can be called when no further communication will happen over this
+`MessagePort`.
### port.postMessage(value[, transferList])
<!-- YAML
@@ -436,9 +436,9 @@ to have completed.
**Warning**: Currently, not all code in the internals of Node.js is prepared to
expect termination at arbitrary points in time and may crash if it encounters
-that condition. Consequently, you should currently only call `.terminate()` if
-it is known that the Worker thread is not accessing Node.js core modules other
-than what is exposed in the `worker` module.
+that condition. Consequently, only call `.terminate()` if it is known that the
+Worker thread is not accessing Node.js core modules other than what is exposed
+in the `worker` module.
### worker.threadId
<!-- YAML