| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9da0926 commit fabd5c4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -650,18 +650,6 @@ of the custom deprecation. | |||
| 650 | 650 | The `*-deprecation` command-line flags only affect warnings that use the name | |
| 651 | 651 | `'DeprecationWarning'`. | |
| 652 | 652 | ||
| 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 | - | ||
| 665 | 653 | #### Emitting custom warnings | |
| 666 | 654 | ||
| 667 | 655 | 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: | |||
| 690 | 678 | that will be ignored rather than treated as an error. One example is use of | |
| 691 | 679 | the HTTP response status message when using the HTTP/2 compatibility API. | |
| 692 | 680 | ||
| 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 | + | ||
| 693 | 693 | ### Signal events | |
| 694 | 694 | ||
| 695 | 695 | <!--type=event--> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments