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 fabd5c4

Browse filesBrowse files
jasnelltargos
authored andcommitted
doc: fixup alignment of warning subsection
Subsection was accidentally aligned with the wrong event. PR-URL: #51374 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent 9da0926 commit fabd5c4
Copy full SHA for fabd5c4

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+12-12Lines changed: 12 additions & 12 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -650,18 +650,6 @@ of the custom deprecation.
650650
The `*-deprecation` command-line flags only affect warnings that use the name
651651
`'DeprecationWarning'`.
652652

653-
### Event: `'worker'`
654-
655-
<!-- YAML
656-
added:
657-
- v16.2.0
658-
- v14.18.0
659-
-->
660-
661-
* `worker` {Worker} The {Worker} that was created.
662-
663-
The `'worker'` event is emitted after a new {Worker} thread has been created.
664-
665653
#### Emitting custom warnings
666654

667655
See the [`process.emitWarning()`][process_emit_warning] method for issuing
@@ -690,6 +678,18 @@ A few of the warning types that are most common include:
690678
that will be ignored rather than treated as an error. One example is use of
691679
the HTTP response status message when using the HTTP/2 compatibility API.
692680

681+
### Event: `'worker'`
682+
683+
<!-- YAML
684+
added:
685+
- v16.2.0
686+
- v14.18.0
687+
-->
688+
689+
* `worker` {Worker} The {Worker} that was created.
690+
691+
The `'worker'` event is emitted after a new {Worker} thread has been created.
692+
693693
### Signal events
694694

695695
<!--type=event-->

0 commit comments

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