// node:inspector/promises: Node re-exports inspector's console/Network/DOMStorage/ // NetworkResources and top-level functions as-is, with its own Session whose post() // returns a Promise. Since Session refuses either way, there is nothing to promisify. import { inspector } from "./inspector"; import { refusedClass } from "./refuse"; const WHY = "no V8 inspector session inside a worker"; export const inspectorPromises = { ...inspector, Session: refusedClass("inspector/promises", "Session", WHY), };