mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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: https://github.com/nodejs/node/pull/62995 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
This commit is contained in:
1 parent
ffe8635061
commit
cac004b65d
1 file changed
+7
-7
@@ -1302,7 +1302,7 @@ closing the stream can be retrieved using the `stream.rstCode` property.
|
||||
|
||||
> Stability: 1 - Experimental
|
||||
|
||||
##### Event: `'module.require.start'`
|
||||
##### Event: `'tracing:module.require:start'`
|
||||
|
||||
* `event` {Object} containing the following properties
|
||||
* `id` Argument passed to `require()`. Module name.
|
||||
@@ -1310,7 +1310,7 @@ closing the stream can be retrieved using the `stream.rstCode` property.
|
||||
|
||||
Emitted when `require()` is executed. See [`start` event][].
|
||||
|
||||
##### Event: `'module.require.end'`
|
||||
##### Event: `'tracing:module.require:end'`
|
||||
|
||||
* `event` {Object} containing the following properties
|
||||
* `id` Argument passed to `require()`. Module name.
|
||||
@@ -1318,7 +1318,7 @@ Emitted when `require()` is executed. See [`start` event][].
|
||||
|
||||
Emitted when a `require()` call returns. See [`end` event][].
|
||||
|
||||
##### Event: `'module.require.error'`
|
||||
##### Event: `'tracing:module.require:error'`
|
||||
|
||||
* `event` {Object} containing the following properties
|
||||
* `id` Argument passed to `require()`. Module name.
|
||||
@@ -1327,7 +1327,7 @@ Emitted when a `require()` call returns. See [`end` event][].
|
||||
|
||||
Emitted when a `require()` throws an error. See [`error` event][].
|
||||
|
||||
##### Event: `'module.import.asyncStart'`
|
||||
##### Event: `'tracing:module.import:asyncStart'`
|
||||
|
||||
* `event` {Object} containing the following properties
|
||||
* `id` Argument passed to `import()`. Module name.
|
||||
@@ -1335,7 +1335,7 @@ Emitted when a `require()` throws an error. See [`error` event][].
|
||||
|
||||
Emitted when `import()` is invoked. See [`asyncStart` event][].
|
||||
|
||||
##### Event: `'module.import.asyncEnd'`
|
||||
##### Event: `'tracing:module.import:asyncEnd'`
|
||||
|
||||
* `event` {Object} containing the following properties
|
||||
* `id` Argument passed to `import()`. Module name.
|
||||
@@ -1343,7 +1343,7 @@ Emitted when `import()` is invoked. See [`asyncStart` event][].
|
||||
|
||||
Emitted when `import()` has completed. See [`asyncEnd` event][].
|
||||
|
||||
##### Event: `'module.import.error'`
|
||||
##### Event: `'tracing:module.import:error'`
|
||||
|
||||
* `event` {Object} containing the following properties
|
||||
* `id` Argument passed to `import()`. Module name.
|
||||
@@ -1434,7 +1434,7 @@ process has been created.
|
||||
|
||||
Emitted when [`child_process.spawn()`][] encounters an error.
|
||||
|
||||
##### Event: `'execve'`
|
||||
##### Event: `'process.execve'`
|
||||
|
||||
* `execPath` {string}
|
||||
* `args` {string\[]}
|
||||
|
||||
Reference in new issue
Block a user