diff options
author | Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> | 2019-08-23 22:02:23 -0700 |
---|---|---|
committer | Trivikram Kamat <16024985+trivikr@users.noreply.github.com> | 2019-09-01 08:18:10 -0700 |
commit | 89aea1514b3b44d4b60c6c556aa70e9ffed46391 (patch) | |
tree | 53ac24a4a4dae3b14e04a94043bbfe03dab85317 /doc/api/inspector.md | |
parent | 9ab1e07774b0c38a66e29f4b0b257ded8ee04d08 (diff) | |
download | android-node-v8-89aea1514b3b44d4b60c6c556aa70e9ffed46391.tar.gz android-node-v8-89aea1514b3b44d4b60c6c556aa70e9ffed46391.tar.bz2 android-node-v8-89aea1514b3b44d4b60c6c556aa70e9ffed46391.zip |
doc: add extends for derived classes
PR-URL: https://github.com/nodejs/node/pull/29290
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/inspector.md')
-rw-r--r-- | doc/api/inspector.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/inspector.md b/doc/api/inspector.md index f25d6209c1..f82c53f5bc 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -64,6 +64,8 @@ An exception will be thrown if there is no active inspector. ## Class: inspector.Session +* Extends: {EventEmitter} + The `inspector.Session` is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications. @@ -76,8 +78,6 @@ Create a new instance of the `inspector.Session` class. The inspector session needs to be connected through [`session.connect()`][] before the messages can be dispatched to the inspector backend. -`inspector.Session` is an [`EventEmitter`][] with the following events: - ### Event: 'inspectorNotification' <!-- YAML added: v8.0.0 @@ -217,7 +217,6 @@ session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => { ``` [`'Debugger.paused'`]: https://chromedevtools.github.io/devtools-protocol/v8/Debugger#event-paused -[`EventEmitter`]: events.html#events_class_eventemitter [`session.connect()`]: #inspector_session_connect [CPU Profiler]: https://chromedevtools.github.io/devtools-protocol/v8/Profiler [Chrome DevTools Protocol Viewer]: https://chromedevtools.github.io/devtools-protocol/v8/ |