Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6603592

Browse filesBrowse files
TrottMylesBorins
authored andcommitted
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: #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>
1 parent ab90013 commit 6603592
Copy full SHA for 6603592

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ added: v10.5.0
154154
-->
155155

156156
Disables further sending of messages on either side of the connection.
157-
This method can be called once you know that no further communication
158-
will happen over this `MessagePort`.
157+
This method can be called when no further communication will happen over this
158+
`MessagePort`.
159159

160160
### port.postMessage(value[, transferList])
161161
<!-- YAML
@@ -436,9 +436,9 @@ to have completed.
436436

437437
**Warning**: Currently, not all code in the internals of Node.js is prepared to
438438
expect termination at arbitrary points in time and may crash if it encounters
439-
that condition. Consequently, you should currently only call `.terminate()` if
440-
it is known that the Worker thread is not accessing Node.js core modules other
441-
than what is exposed in the `worker` module.
439+
that condition. Consequently, only call `.terminate()` if it is known that the
440+
Worker thread is not accessing Node.js core modules other than what is exposed
441+
in the `worker` module.
442442

443443
### worker.threadId
444444
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.