forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add RuntimeOptions::wait_for_inspector_disconnect_callback (den…
…oland#387) This commit adds "RuntimeOptions::wait_for_inspector_disconnect_callback" that allows to pass a callback that will be called when the event loop runs out of work, but there are active, non-blocking inspector sessions - that is sessions from "Chrome DevTools". This allows to print a message notifying user that the program has finished, but is waiting for DevTools to disconnect to exit the process.
- Loading branch information
1 parent
a283806
commit a575dc5
Showing
1 changed file
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters