Skip to content

Commit

Permalink
doc: improve inspector.close() description
Browse files Browse the repository at this point in the history
PR-URL: nodejs#48494
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
  • Loading branch information
mmarchini authored and Ceres6 committed Aug 14, 2023
1 parent 98a9601 commit 47a4935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ changes:
description: The API is exposed in the worker threads.
-->

Deactivate the inspector. Blocks until there are no active connections.
Attempts to close all remaining connections, blocking the event loop until all
are closed. Once all connections are closed, deactivates the inspector.

### `inspector.console`

Expand Down

0 comments on commit 47a4935

Please sign in to comment.