DevtoolsSocketFactory
typeOpens a socket to url, wiring the given callbacks, and returns a handle.
The agent supplies one (the native WebSocket, a postMessage bridge or an
in-memory loopback), so the shared client never imports a specific transport.
Definition
type
type DevtoolsSocketFactory = (url: string, callbacks: DevtoolsSocketCallbacks) => DevtoolsSocketHandle(url: string, callbacks: DevtoolsSocketCallbacks) => DevtoolsSocketHandle