From 37bc0eac4abd8a1bf92b005e31dabe5dcce62376 Mon Sep 17 00:00:00 2001 From: mary marchini Date: Tue, 20 Jun 2023 20:22:53 -0700 Subject: [PATCH] doc: improve inspector.close() description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/48494 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Gerhard Stöbich --- doc/api/inspector.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/inspector.md b/doc/api/inspector.md index dad72fdb769fd8..34fad2a0ca1805 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -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`