Skip to content

Commit fabd5c4

Browse 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

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

doc/api/process.md

+12-12
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)