Skip to content

Commit a962e72

Browse files
authored
doc: correct diagnostics_channel built-in channel names
The names listed under the Modules and Process built-in channel sections did not match the channel names actually published by the runtime, so subscribing with the documented names produced no events. Signed-off-by: Bryan English <bryan@bryanenglish.com> PR-URL: #62995 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent e7f57b5 commit a962e72

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/api/diagnostics_channel.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,23 +1713,23 @@ closing the stream can be retrieved using the `stream.rstCode` property.
17131713

17141714
> Stability: 1 - Experimental
17151715
1716-
##### Event: `'module.require.start'`
1716+
##### Event: `'tracing:module.require:start'`
17171717

17181718
* `event` {Object} containing the following properties
17191719
* `id` Argument passed to `require()`. Module name.
17201720
* `parentFilename` Name of the module that attempted to require(id).
17211721

17221722
Emitted when `require()` is executed. See [`start` event][].
17231723

1724-
##### Event: `'module.require.end'`
1724+
##### Event: `'tracing:module.require:end'`
17251725

17261726
* `event` {Object} containing the following properties
17271727
* `id` Argument passed to `require()`. Module name.
17281728
* `parentFilename` Name of the module that attempted to require(id).
17291729

17301730
Emitted when a `require()` call returns. See [`end` event][].
17311731

1732-
##### Event: `'module.require.error'`
1732+
##### Event: `'tracing:module.require:error'`
17331733

17341734
* `event` {Object} containing the following properties
17351735
* `id` Argument passed to `require()`. Module name.
@@ -1738,23 +1738,23 @@ Emitted when a `require()` call returns. See [`end` event][].
17381738

17391739
Emitted when a `require()` throws an error. See [`error` event][].
17401740

1741-
##### Event: `'module.import.asyncStart'`
1741+
##### Event: `'tracing:module.import:asyncStart'`
17421742

17431743
* `event` {Object} containing the following properties
17441744
* `id` Argument passed to `import()`. Module name.
17451745
* `parentURL` URL object of the module that attempted to import(id).
17461746

17471747
Emitted when `import()` is invoked. See [`asyncStart` event][].
17481748

1749-
##### Event: `'module.import.asyncEnd'`
1749+
##### Event: `'tracing:module.import:asyncEnd'`
17501750

17511751
* `event` {Object} containing the following properties
17521752
* `id` Argument passed to `import()`. Module name.
17531753
* `parentURL` URL object of the module that attempted to import(id).
17541754

17551755
Emitted when `import()` has completed. See [`asyncEnd` event][].
17561756

1757-
##### Event: `'module.import.error'`
1757+
##### Event: `'tracing:module.import:error'`
17581758

17591759
* `event` {Object} containing the following properties
17601760
* `id` Argument passed to `import()`. Module name.
@@ -1845,7 +1845,7 @@ process has been created.
18451845

18461846
Emitted when [`child_process.spawn()`][] encounters an error.
18471847

1848-
##### Event: `'execve'`
1848+
##### Event: `'process.execve'`
18491849

18501850
* `execPath` {string}
18511851
* `args` {string\[]}

0 commit comments

Comments
 (0)