doc: improve inspector.close() description

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
mary marchini authored and RafaelGSS committed 2023-07-03 10:36:50 -03:00
1 parent 4345526644
commit 37bc0eac4a
1 file changed
+2 -1
+2 -1
View File
@@ -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`