Skip to content

Commit

Permalink
doc: improve inspector.close() description
Browse files Browse the repository at this point in the history
PR-URL: #48494
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
  • Loading branch information
mmarchini authored and RafaelGSS committed Jul 3, 2023
1 parent 4345526 commit 37bc0ea
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 37bc0ea

Please sign in to comment.