@types/node 24.12.2 → 24.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {node v24.12 → node v24.13}/README.md +1 -1
- {node v24.12 → node v24.13}/domain.d.ts +8 -12
- {node v24.12 → node v24.13}/http2.d.ts +102 -24
- {node v24.12 → node v24.13}/inspector.generated.d.ts +419 -426
- {node v24.12 → node v24.13}/module.d.ts +0 -62
- {node v24.12 → node v24.13}/package.json +3 -3
- {node v24.12 → node v24.13}/process.d.ts +20 -1
- {node v24.12 → node v24.13}/readline.d.ts +6 -0
- {node v24.12 → node v24.13}/sqlite.d.ts +98 -16
- {node v24.12 → node v24.13}/test.d.ts +22 -13
- {node v24.12 → node v24.13}/tls.d.ts +12 -6
- {node v24.12 → node v24.13}/url.d.ts +22 -0
- {node v24.12 → node v24.13}/util.d.ts +5 -2
- {node v24.12 → node v24.13}/v8.d.ts +5 -1
- {node v24.12 → node v24.13}/worker_threads.d.ts +2 -2
- {node v24.12 → node v24.13}/LICENSE +0 -0
- {node v24.12 → node v24.13}/assert/strict.d.ts +0 -0
- {node v24.12 → node v24.13}/assert.d.ts +0 -0
- {node v24.12 → node v24.13}/async_hooks.d.ts +0 -0
- {node v24.12 → node v24.13}/buffer.buffer.d.ts +0 -0
- {node v24.12 → node v24.13}/buffer.d.ts +0 -0
- {node v24.12 → node v24.13}/child_process.d.ts +0 -0
- {node v24.12 → node v24.13}/cluster.d.ts +0 -0
- {node v24.12 → node v24.13}/compatibility/iterators.d.ts +0 -0
- {node v24.12 → node v24.13}/console.d.ts +0 -0
- {node v24.12 → node v24.13}/constants.d.ts +0 -0
- {node v24.12 → node v24.13}/crypto.d.ts +0 -0
- {node v24.12 → node v24.13}/dgram.d.ts +0 -0
- {node v24.12 → node v24.13}/diagnostics_channel.d.ts +0 -0
- {node v24.12 → node v24.13}/dns/promises.d.ts +0 -0
- {node v24.12 → node v24.13}/dns.d.ts +0 -0
- {node v24.12 → node v24.13}/events.d.ts +0 -0
- {node v24.12 → node v24.13}/fs/promises.d.ts +0 -0
- {node v24.12 → node v24.13}/fs.d.ts +0 -0
- {node v24.12 → node v24.13}/globals.d.ts +0 -0
- {node v24.12 → node v24.13}/globals.typedarray.d.ts +0 -0
- {node v24.12 → node v24.13}/http.d.ts +0 -0
- {node v24.12 → node v24.13}/https.d.ts +0 -0
- {node v24.12 → node v24.13}/index.d.ts +0 -0
- {node v24.12 → node v24.13}/inspector.d.ts +0 -0
- {node v24.12 → node v24.13}/net.d.ts +4 -4
- {node v24.12 → node v24.13}/os.d.ts +0 -0
- {node v24.12 → node v24.13}/path.d.ts +0 -0
- {node v24.12 → node v24.13}/perf_hooks.d.ts +0 -0
- {node v24.12 → node v24.13}/punycode.d.ts +0 -0
- {node v24.12 → node v24.13}/querystring.d.ts +0 -0
- {node v24.12 → node v24.13}/readline/promises.d.ts +0 -0
- {node v24.12 → node v24.13}/repl.d.ts +0 -0
- {node v24.12 → node v24.13}/sea.d.ts +0 -0
- {node v24.12 → node v24.13}/stream/consumers.d.ts +0 -0
- {node v24.12 → node v24.13}/stream/promises.d.ts +0 -0
- {node v24.12 → node v24.13}/stream/web.d.ts +0 -0
- {node v24.12 → node v24.13}/stream.d.ts +0 -0
- {node v24.12 → node v24.13}/string_decoder.d.ts +0 -0
- {node v24.12 → node v24.13}/timers/promises.d.ts +0 -0
- {node v24.12 → node v24.13}/timers.d.ts +0 -0
- {node v24.12 → node v24.13}/trace_events.d.ts +0 -0
- {node v24.12 → node v24.13}/ts5.6/buffer.buffer.d.ts +0 -0
- {node v24.12 → node v24.13}/ts5.6/compatibility/float16array.d.ts +0 -0
- {node v24.12 → node v24.13}/ts5.6/globals.typedarray.d.ts +0 -0
- {node v24.12 → node v24.13}/ts5.6/index.d.ts +0 -0
- {node v24.12 → node v24.13}/ts5.7/compatibility/float16array.d.ts +0 -0
- {node v24.12 → node v24.13}/ts5.7/index.d.ts +0 -0
- {node v24.12 → node v24.13}/tty.d.ts +0 -0
- {node v24.12 → node v24.13}/vm.d.ts +0 -0
- {node v24.12 → node v24.13}/wasi.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/abortcontroller.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/crypto.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/domexception.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/events.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/fetch.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/navigator.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/storage.d.ts +0 -0
- {node v24.12 → node v24.13}/web-globals/streams.d.ts +0 -0
- {node v24.12 → node v24.13}/zlib.d.ts +0 -0
|
@@ -8,7 +8,6 @@ declare module "inspector" {
|
|
|
8
8
|
method: string;
|
|
9
9
|
params: T;
|
|
10
10
|
}
|
|
11
|
-
|
|
12
11
|
namespace Schema {
|
|
13
12
|
/**
|
|
14
13
|
* Description of the protocol domain.
|
|
@@ -1621,79 +1620,38 @@ declare module "inspector" {
|
|
|
1621
1620
|
statsUpdate: number[];
|
|
1622
1621
|
}
|
|
1623
1622
|
}
|
|
1624
|
-
namespace
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
* Controls how the trace buffer stores data.
|
|
1628
|
-
*/
|
|
1629
|
-
recordMode?: string | undefined;
|
|
1630
|
-
/**
|
|
1631
|
-
* Included category filters.
|
|
1632
|
-
*/
|
|
1633
|
-
includedCategories: string[];
|
|
1634
|
-
}
|
|
1635
|
-
interface StartParameterType {
|
|
1636
|
-
traceConfig: TraceConfig;
|
|
1637
|
-
}
|
|
1638
|
-
interface GetCategoriesReturnType {
|
|
1623
|
+
namespace IO {
|
|
1624
|
+
type StreamHandle = string;
|
|
1625
|
+
interface ReadParameterType {
|
|
1639
1626
|
/**
|
|
1640
|
-
*
|
|
1627
|
+
* Handle of the stream to read.
|
|
1641
1628
|
*/
|
|
1642
|
-
|
|
1643
|
-
}
|
|
1644
|
-
interface DataCollectedEventDataType {
|
|
1645
|
-
value: object[];
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1648
|
-
namespace NodeWorker {
|
|
1649
|
-
type WorkerID = string;
|
|
1650
|
-
/**
|
|
1651
|
-
* Unique identifier of attached debugging session.
|
|
1652
|
-
*/
|
|
1653
|
-
type SessionID = string;
|
|
1654
|
-
interface WorkerInfo {
|
|
1655
|
-
workerId: WorkerID;
|
|
1656
|
-
type: string;
|
|
1657
|
-
title: string;
|
|
1658
|
-
url: string;
|
|
1659
|
-
}
|
|
1660
|
-
interface SendMessageToWorkerParameterType {
|
|
1661
|
-
message: string;
|
|
1629
|
+
handle: StreamHandle;
|
|
1662
1630
|
/**
|
|
1663
|
-
*
|
|
1631
|
+
* Seek to the specified offset before reading (if not specified, proceed with offset
|
|
1632
|
+
* following the last read). Some types of streams may only support sequential reads.
|
|
1664
1633
|
*/
|
|
1665
|
-
|
|
1666
|
-
}
|
|
1667
|
-
interface EnableParameterType {
|
|
1634
|
+
offset?: number | undefined;
|
|
1668
1635
|
/**
|
|
1669
|
-
*
|
|
1670
|
-
* message to run them.
|
|
1636
|
+
* Maximum number of bytes to read (left upon the agent discretion if not specified).
|
|
1671
1637
|
*/
|
|
1672
|
-
|
|
1673
|
-
}
|
|
1674
|
-
interface DetachParameterType {
|
|
1675
|
-
sessionId: SessionID;
|
|
1638
|
+
size?: number | undefined;
|
|
1676
1639
|
}
|
|
1677
|
-
interface
|
|
1640
|
+
interface CloseParameterType {
|
|
1678
1641
|
/**
|
|
1679
|
-
*
|
|
1642
|
+
* Handle of the stream to close.
|
|
1680
1643
|
*/
|
|
1681
|
-
|
|
1682
|
-
workerInfo: WorkerInfo;
|
|
1683
|
-
waitingForDebugger: boolean;
|
|
1644
|
+
handle: StreamHandle;
|
|
1684
1645
|
}
|
|
1685
|
-
interface
|
|
1646
|
+
interface ReadReturnType {
|
|
1686
1647
|
/**
|
|
1687
|
-
*
|
|
1648
|
+
* Data that were read.
|
|
1688
1649
|
*/
|
|
1689
|
-
|
|
1690
|
-
}
|
|
1691
|
-
interface ReceivedMessageFromWorkerEventDataType {
|
|
1650
|
+
data: string;
|
|
1692
1651
|
/**
|
|
1693
|
-
*
|
|
1652
|
+
* Set if the end-of-file condition occurred while reading.
|
|
1694
1653
|
*/
|
|
1695
|
-
|
|
1696
|
-
message: string;
|
|
1654
|
+
eof: boolean;
|
|
1697
1655
|
}
|
|
1698
1656
|
}
|
|
1699
1657
|
namespace Network {
|
|
@@ -1801,8 +1759,8 @@ declare module "inspector" {
|
|
|
1801
1759
|
* Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
1802
1760
|
* @experimental
|
|
1803
1761
|
*/
|
|
1804
|
-
|
|
1805
|
-
|
|
1762
|
+
maxResourceBufferSize?: number | undefined;
|
|
1763
|
+
}
|
|
1806
1764
|
interface GetRequestPostDataParameterType {
|
|
1807
1765
|
/**
|
|
1808
1766
|
* Identifier of the network request to get content for.
|
|
@@ -1987,6 +1945,81 @@ declare module "inspector" {
|
|
|
1987
1945
|
enabled: boolean;
|
|
1988
1946
|
}
|
|
1989
1947
|
}
|
|
1948
|
+
namespace NodeTracing {
|
|
1949
|
+
interface TraceConfig {
|
|
1950
|
+
/**
|
|
1951
|
+
* Controls how the trace buffer stores data.
|
|
1952
|
+
*/
|
|
1953
|
+
recordMode?: string | undefined;
|
|
1954
|
+
/**
|
|
1955
|
+
* Included category filters.
|
|
1956
|
+
*/
|
|
1957
|
+
includedCategories: string[];
|
|
1958
|
+
}
|
|
1959
|
+
interface StartParameterType {
|
|
1960
|
+
traceConfig: TraceConfig;
|
|
1961
|
+
}
|
|
1962
|
+
interface GetCategoriesReturnType {
|
|
1963
|
+
/**
|
|
1964
|
+
* A list of supported tracing categories.
|
|
1965
|
+
*/
|
|
1966
|
+
categories: string[];
|
|
1967
|
+
}
|
|
1968
|
+
interface DataCollectedEventDataType {
|
|
1969
|
+
value: object[];
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
namespace NodeWorker {
|
|
1973
|
+
type WorkerID = string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Unique identifier of attached debugging session.
|
|
1976
|
+
*/
|
|
1977
|
+
type SessionID = string;
|
|
1978
|
+
interface WorkerInfo {
|
|
1979
|
+
workerId: WorkerID;
|
|
1980
|
+
type: string;
|
|
1981
|
+
title: string;
|
|
1982
|
+
url: string;
|
|
1983
|
+
}
|
|
1984
|
+
interface SendMessageToWorkerParameterType {
|
|
1985
|
+
message: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* Identifier of the session.
|
|
1988
|
+
*/
|
|
1989
|
+
sessionId: SessionID;
|
|
1990
|
+
}
|
|
1991
|
+
interface EnableParameterType {
|
|
1992
|
+
/**
|
|
1993
|
+
* Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
|
|
1994
|
+
* message to run them.
|
|
1995
|
+
*/
|
|
1996
|
+
waitForDebuggerOnStart: boolean;
|
|
1997
|
+
}
|
|
1998
|
+
interface DetachParameterType {
|
|
1999
|
+
sessionId: SessionID;
|
|
2000
|
+
}
|
|
2001
|
+
interface AttachedToWorkerEventDataType {
|
|
2002
|
+
/**
|
|
2003
|
+
* Identifier assigned to the session used to send/receive messages.
|
|
2004
|
+
*/
|
|
2005
|
+
sessionId: SessionID;
|
|
2006
|
+
workerInfo: WorkerInfo;
|
|
2007
|
+
waitingForDebugger: boolean;
|
|
2008
|
+
}
|
|
2009
|
+
interface DetachedFromWorkerEventDataType {
|
|
2010
|
+
/**
|
|
2011
|
+
* Detached session identifier.
|
|
2012
|
+
*/
|
|
2013
|
+
sessionId: SessionID;
|
|
2014
|
+
}
|
|
2015
|
+
interface ReceivedMessageFromWorkerEventDataType {
|
|
2016
|
+
/**
|
|
2017
|
+
* Identifier of a session which sends a message.
|
|
2018
|
+
*/
|
|
2019
|
+
sessionId: SessionID;
|
|
2020
|
+
message: string;
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
1990
2023
|
namespace Target {
|
|
1991
2024
|
type SessionID = string;
|
|
1992
2025
|
type TargetID = string;
|
|
@@ -2011,41 +2044,6 @@ declare module "inspector" {
|
|
|
2011
2044
|
waitingForDebugger: boolean;
|
|
2012
2045
|
}
|
|
2013
2046
|
}
|
|
2014
|
-
namespace IO {
|
|
2015
|
-
type StreamHandle = string;
|
|
2016
|
-
interface ReadParameterType {
|
|
2017
|
-
/**
|
|
2018
|
-
* Handle of the stream to read.
|
|
2019
|
-
*/
|
|
2020
|
-
handle: StreamHandle;
|
|
2021
|
-
/**
|
|
2022
|
-
* Seek to the specified offset before reading (if not specified, proceed with offset
|
|
2023
|
-
* following the last read). Some types of streams may only support sequential reads.
|
|
2024
|
-
*/
|
|
2025
|
-
offset?: number | undefined;
|
|
2026
|
-
/**
|
|
2027
|
-
* Maximum number of bytes to read (left upon the agent discretion if not specified).
|
|
2028
|
-
*/
|
|
2029
|
-
size?: number | undefined;
|
|
2030
|
-
}
|
|
2031
|
-
interface CloseParameterType {
|
|
2032
|
-
/**
|
|
2033
|
-
* Handle of the stream to close.
|
|
2034
|
-
*/
|
|
2035
|
-
handle: StreamHandle;
|
|
2036
|
-
}
|
|
2037
|
-
interface ReadReturnType {
|
|
2038
|
-
/**
|
|
2039
|
-
* Data that were read.
|
|
2040
|
-
*/
|
|
2041
|
-
data: string;
|
|
2042
|
-
/**
|
|
2043
|
-
* Set if the end-of-file condition occurred while reading.
|
|
2044
|
-
*/
|
|
2045
|
-
eof: boolean;
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
|
|
2049
2047
|
interface Session {
|
|
2050
2048
|
/**
|
|
2051
2049
|
* Posts a message to the inspector back-end. `callback` will be notified when
|
|
@@ -2351,39 +2349,12 @@ declare module "inspector" {
|
|
|
2351
2349
|
post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void;
|
|
2352
2350
|
post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void;
|
|
2353
2351
|
/**
|
|
2354
|
-
*
|
|
2355
|
-
*/
|
|
2356
|
-
post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
|
|
2357
|
-
/**
|
|
2358
|
-
* Start trace events collection.
|
|
2359
|
-
*/
|
|
2360
|
-
post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
|
|
2361
|
-
post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
|
|
2362
|
-
/**
|
|
2363
|
-
* Stop trace events collection. Remaining collected events will be sent as a sequence of
|
|
2364
|
-
* dataCollected events followed by tracingComplete event.
|
|
2365
|
-
*/
|
|
2366
|
-
post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
|
|
2367
|
-
/**
|
|
2368
|
-
* Sends protocol message over session with given id.
|
|
2369
|
-
*/
|
|
2370
|
-
post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
|
|
2371
|
-
post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
|
|
2372
|
-
/**
|
|
2373
|
-
* Instructs the inspector to attach to running workers. Will also attach to new workers
|
|
2374
|
-
* as they start
|
|
2375
|
-
*/
|
|
2376
|
-
post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
|
|
2377
|
-
post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
|
|
2378
|
-
/**
|
|
2379
|
-
* Detaches from all running workers and disables attaching to new workers as they are started.
|
|
2380
|
-
*/
|
|
2381
|
-
post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
|
|
2382
|
-
/**
|
|
2383
|
-
* Detached from the worker with given sessionId.
|
|
2352
|
+
* Read a chunk of the stream
|
|
2384
2353
|
*/
|
|
2385
|
-
post(method: "
|
|
2386
|
-
post(method: "
|
|
2354
|
+
post(method: "IO.read", params?: IO.ReadParameterType, callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
|
|
2355
|
+
post(method: "IO.read", callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
|
|
2356
|
+
post(method: "IO.close", params?: IO.CloseParameterType, callback?: (err: Error | null) => void): void;
|
|
2357
|
+
post(method: "IO.close", callback?: (err: Error | null) => void): void;
|
|
2387
2358
|
/**
|
|
2388
2359
|
* Disables network tracking, prevents network events from being sent to the client.
|
|
2389
2360
|
*/
|
|
@@ -2432,33 +2403,59 @@ declare module "inspector" {
|
|
|
2432
2403
|
*/
|
|
2433
2404
|
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
|
|
2434
2405
|
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", callback?: (err: Error | null) => void): void;
|
|
2435
|
-
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
|
|
2436
|
-
post(method: "Target.setAutoAttach", callback?: (err: Error | null) => void): void;
|
|
2437
2406
|
/**
|
|
2438
|
-
*
|
|
2407
|
+
* Gets supported tracing categories.
|
|
2439
2408
|
*/
|
|
2440
|
-
post(method: "
|
|
2441
|
-
post(method: "IO.read", callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
|
|
2442
|
-
post(method: "IO.close", params?: IO.CloseParameterType, callback?: (err: Error | null) => void): void;
|
|
2443
|
-
post(method: "IO.close", callback?: (err: Error | null) => void): void;
|
|
2444
|
-
|
|
2445
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
2409
|
+
post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
|
|
2446
2410
|
/**
|
|
2447
|
-
*
|
|
2411
|
+
* Start trace events collection.
|
|
2448
2412
|
*/
|
|
2449
|
-
|
|
2413
|
+
post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
|
|
2414
|
+
post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
|
|
2450
2415
|
/**
|
|
2451
|
-
*
|
|
2416
|
+
* Stop trace events collection. Remaining collected events will be sent as a sequence of
|
|
2417
|
+
* dataCollected events followed by tracingComplete event.
|
|
2452
2418
|
*/
|
|
2453
|
-
|
|
2419
|
+
post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
|
|
2454
2420
|
/**
|
|
2455
|
-
*
|
|
2421
|
+
* Sends protocol message over session with given id.
|
|
2456
2422
|
*/
|
|
2457
|
-
|
|
2423
|
+
post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
|
|
2424
|
+
post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
|
|
2458
2425
|
/**
|
|
2459
|
-
*
|
|
2426
|
+
* Instructs the inspector to attach to running workers. Will also attach to new workers
|
|
2427
|
+
* as they start
|
|
2460
2428
|
*/
|
|
2461
|
-
|
|
2429
|
+
post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
|
|
2430
|
+
post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
|
|
2431
|
+
/**
|
|
2432
|
+
* Detaches from all running workers and disables attaching to new workers as they are started.
|
|
2433
|
+
*/
|
|
2434
|
+
post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
|
|
2435
|
+
/**
|
|
2436
|
+
* Detached from the worker with given sessionId.
|
|
2437
|
+
*/
|
|
2438
|
+
post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
|
|
2439
|
+
post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void;
|
|
2440
|
+
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
|
|
2441
|
+
post(method: "Target.setAutoAttach", callback?: (err: Error | null) => void): void;
|
|
2442
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
2443
|
+
/**
|
|
2444
|
+
* Emitted when any notification from the V8 Inspector is received.
|
|
2445
|
+
*/
|
|
2446
|
+
addListener(event: "inspectorNotification", listener: (message: InspectorNotification<object>) => void): this;
|
|
2447
|
+
/**
|
|
2448
|
+
* Issued when new execution context is created.
|
|
2449
|
+
*/
|
|
2450
|
+
addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
|
|
2451
|
+
/**
|
|
2452
|
+
* Issued when execution context is destroyed.
|
|
2453
|
+
*/
|
|
2454
|
+
addListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
|
|
2455
|
+
/**
|
|
2456
|
+
* Issued when all executionContexts were cleared in browser
|
|
2457
|
+
*/
|
|
2458
|
+
addListener(event: "Runtime.executionContextsCleared", listener: () => void): this;
|
|
2462
2459
|
/**
|
|
2463
2460
|
* Issued when exception was thrown and unhandled.
|
|
2464
2461
|
*/
|
|
@@ -2515,28 +2512,6 @@ declare module "inspector" {
|
|
|
2515
2512
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2516
2513
|
*/
|
|
2517
2514
|
addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2518
|
-
/**
|
|
2519
|
-
* Contains an bucket of collected trace events.
|
|
2520
|
-
*/
|
|
2521
|
-
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2522
|
-
/**
|
|
2523
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2524
|
-
* delivered via dataCollected events.
|
|
2525
|
-
*/
|
|
2526
|
-
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2527
|
-
/**
|
|
2528
|
-
* Issued when attached to a worker.
|
|
2529
|
-
*/
|
|
2530
|
-
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2531
|
-
/**
|
|
2532
|
-
* Issued when detached from the worker.
|
|
2533
|
-
*/
|
|
2534
|
-
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2535
|
-
/**
|
|
2536
|
-
* Notifies about a new protocol message received from the session
|
|
2537
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2538
|
-
*/
|
|
2539
|
-
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2540
2515
|
/**
|
|
2541
2516
|
* Fired when page is about to send HTTP request.
|
|
2542
2517
|
*/
|
|
@@ -2575,6 +2550,28 @@ declare module "inspector" {
|
|
|
2575
2550
|
* example, when inspector.waitingForDebugger is called
|
|
2576
2551
|
*/
|
|
2577
2552
|
addListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2553
|
+
/**
|
|
2554
|
+
* Contains an bucket of collected trace events.
|
|
2555
|
+
*/
|
|
2556
|
+
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2557
|
+
/**
|
|
2558
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2559
|
+
* delivered via dataCollected events.
|
|
2560
|
+
*/
|
|
2561
|
+
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2562
|
+
/**
|
|
2563
|
+
* Issued when attached to a worker.
|
|
2564
|
+
*/
|
|
2565
|
+
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2566
|
+
/**
|
|
2567
|
+
* Issued when detached from the worker.
|
|
2568
|
+
*/
|
|
2569
|
+
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2570
|
+
/**
|
|
2571
|
+
* Notifies about a new protocol message received from the session
|
|
2572
|
+
* (session ID is provided in attachedToWorker notification).
|
|
2573
|
+
*/
|
|
2574
|
+
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2578
2575
|
addListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2579
2576
|
addListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2580
2577
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
@@ -2599,11 +2596,6 @@ declare module "inspector" {
|
|
|
2599
2596
|
emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
|
|
2600
2597
|
emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
|
|
2601
2598
|
emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean;
|
|
2602
|
-
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
2603
|
-
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
2604
|
-
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
2605
|
-
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
2606
|
-
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
2607
2599
|
emit(event: "Network.requestWillBeSent", message: InspectorNotification<Network.RequestWillBeSentEventDataType>): boolean;
|
|
2608
2600
|
emit(event: "Network.responseReceived", message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
|
|
2609
2601
|
emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
|
|
@@ -2614,6 +2606,11 @@ declare module "inspector" {
|
|
|
2614
2606
|
emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
|
|
2615
2607
|
emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
|
|
2616
2608
|
emit(event: "NodeRuntime.waitingForDebugger"): boolean;
|
|
2609
|
+
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
2610
|
+
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
2611
|
+
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
2612
|
+
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
2613
|
+
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
2617
2614
|
emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
2618
2615
|
emit(event: "Target.attachedToTarget", message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
2619
2616
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -2689,28 +2686,6 @@ declare module "inspector" {
|
|
|
2689
2686
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2690
2687
|
*/
|
|
2691
2688
|
on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2692
|
-
/**
|
|
2693
|
-
* Contains an bucket of collected trace events.
|
|
2694
|
-
*/
|
|
2695
|
-
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2696
|
-
/**
|
|
2697
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2698
|
-
* delivered via dataCollected events.
|
|
2699
|
-
*/
|
|
2700
|
-
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2701
|
-
/**
|
|
2702
|
-
* Issued when attached to a worker.
|
|
2703
|
-
*/
|
|
2704
|
-
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2705
|
-
/**
|
|
2706
|
-
* Issued when detached from the worker.
|
|
2707
|
-
*/
|
|
2708
|
-
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2709
|
-
/**
|
|
2710
|
-
* Notifies about a new protocol message received from the session
|
|
2711
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2712
|
-
*/
|
|
2713
|
-
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2714
2689
|
/**
|
|
2715
2690
|
* Fired when page is about to send HTTP request.
|
|
2716
2691
|
*/
|
|
@@ -2749,6 +2724,28 @@ declare module "inspector" {
|
|
|
2749
2724
|
* example, when inspector.waitingForDebugger is called
|
|
2750
2725
|
*/
|
|
2751
2726
|
on(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2727
|
+
/**
|
|
2728
|
+
* Contains an bucket of collected trace events.
|
|
2729
|
+
*/
|
|
2730
|
+
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2731
|
+
/**
|
|
2732
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2733
|
+
* delivered via dataCollected events.
|
|
2734
|
+
*/
|
|
2735
|
+
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2736
|
+
/**
|
|
2737
|
+
* Issued when attached to a worker.
|
|
2738
|
+
*/
|
|
2739
|
+
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2740
|
+
/**
|
|
2741
|
+
* Issued when detached from the worker.
|
|
2742
|
+
*/
|
|
2743
|
+
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2744
|
+
/**
|
|
2745
|
+
* Notifies about a new protocol message received from the session
|
|
2746
|
+
* (session ID is provided in attachedToWorker notification).
|
|
2747
|
+
*/
|
|
2748
|
+
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2752
2749
|
on(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2753
2750
|
on(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2754
2751
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -2824,28 +2821,6 @@ declare module "inspector" {
|
|
|
2824
2821
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2825
2822
|
*/
|
|
2826
2823
|
once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2827
|
-
/**
|
|
2828
|
-
* Contains an bucket of collected trace events.
|
|
2829
|
-
*/
|
|
2830
|
-
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2831
|
-
/**
|
|
2832
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2833
|
-
* delivered via dataCollected events.
|
|
2834
|
-
*/
|
|
2835
|
-
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2836
|
-
/**
|
|
2837
|
-
* Issued when attached to a worker.
|
|
2838
|
-
*/
|
|
2839
|
-
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2840
|
-
/**
|
|
2841
|
-
* Issued when detached from the worker.
|
|
2842
|
-
*/
|
|
2843
|
-
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2844
|
-
/**
|
|
2845
|
-
* Notifies about a new protocol message received from the session
|
|
2846
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2847
|
-
*/
|
|
2848
|
-
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2849
2824
|
/**
|
|
2850
2825
|
* Fired when page is about to send HTTP request.
|
|
2851
2826
|
*/
|
|
@@ -2884,6 +2859,28 @@ declare module "inspector" {
|
|
|
2884
2859
|
* example, when inspector.waitingForDebugger is called
|
|
2885
2860
|
*/
|
|
2886
2861
|
once(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2862
|
+
/**
|
|
2863
|
+
* Contains an bucket of collected trace events.
|
|
2864
|
+
*/
|
|
2865
|
+
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2866
|
+
/**
|
|
2867
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2868
|
+
* delivered via dataCollected events.
|
|
2869
|
+
*/
|
|
2870
|
+
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2871
|
+
/**
|
|
2872
|
+
* Issued when attached to a worker.
|
|
2873
|
+
*/
|
|
2874
|
+
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2875
|
+
/**
|
|
2876
|
+
* Issued when detached from the worker.
|
|
2877
|
+
*/
|
|
2878
|
+
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2879
|
+
/**
|
|
2880
|
+
* Notifies about a new protocol message received from the session
|
|
2881
|
+
* (session ID is provided in attachedToWorker notification).
|
|
2882
|
+
*/
|
|
2883
|
+
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2887
2884
|
once(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2888
2885
|
once(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2889
2886
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -2959,28 +2956,6 @@ declare module "inspector" {
|
|
|
2959
2956
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2960
2957
|
*/
|
|
2961
2958
|
prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2962
|
-
/**
|
|
2963
|
-
* Contains an bucket of collected trace events.
|
|
2964
|
-
*/
|
|
2965
|
-
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2966
|
-
/**
|
|
2967
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2968
|
-
* delivered via dataCollected events.
|
|
2969
|
-
*/
|
|
2970
|
-
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2971
|
-
/**
|
|
2972
|
-
* Issued when attached to a worker.
|
|
2973
|
-
*/
|
|
2974
|
-
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2975
|
-
/**
|
|
2976
|
-
* Issued when detached from the worker.
|
|
2977
|
-
*/
|
|
2978
|
-
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2979
|
-
/**
|
|
2980
|
-
* Notifies about a new protocol message received from the session
|
|
2981
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2982
|
-
*/
|
|
2983
|
-
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2984
2959
|
/**
|
|
2985
2960
|
* Fired when page is about to send HTTP request.
|
|
2986
2961
|
*/
|
|
@@ -3019,6 +2994,28 @@ declare module "inspector" {
|
|
|
3019
2994
|
* example, when inspector.waitingForDebugger is called
|
|
3020
2995
|
*/
|
|
3021
2996
|
prependListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2997
|
+
/**
|
|
2998
|
+
* Contains an bucket of collected trace events.
|
|
2999
|
+
*/
|
|
3000
|
+
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3001
|
+
/**
|
|
3002
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3003
|
+
* delivered via dataCollected events.
|
|
3004
|
+
*/
|
|
3005
|
+
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3006
|
+
/**
|
|
3007
|
+
* Issued when attached to a worker.
|
|
3008
|
+
*/
|
|
3009
|
+
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3010
|
+
/**
|
|
3011
|
+
* Issued when detached from the worker.
|
|
3012
|
+
*/
|
|
3013
|
+
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3014
|
+
/**
|
|
3015
|
+
* Notifies about a new protocol message received from the session
|
|
3016
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3017
|
+
*/
|
|
3018
|
+
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3022
3019
|
prependListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3023
3020
|
prependListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3024
3021
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -3094,28 +3091,6 @@ declare module "inspector" {
|
|
|
3094
3091
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3095
3092
|
*/
|
|
3096
3093
|
prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3097
|
-
/**
|
|
3098
|
-
* Contains an bucket of collected trace events.
|
|
3099
|
-
*/
|
|
3100
|
-
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3101
|
-
/**
|
|
3102
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3103
|
-
* delivered via dataCollected events.
|
|
3104
|
-
*/
|
|
3105
|
-
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3106
|
-
/**
|
|
3107
|
-
* Issued when attached to a worker.
|
|
3108
|
-
*/
|
|
3109
|
-
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3110
|
-
/**
|
|
3111
|
-
* Issued when detached from the worker.
|
|
3112
|
-
*/
|
|
3113
|
-
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3114
|
-
/**
|
|
3115
|
-
* Notifies about a new protocol message received from the session
|
|
3116
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3117
|
-
*/
|
|
3118
|
-
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3119
3094
|
/**
|
|
3120
3095
|
* Fired when page is about to send HTTP request.
|
|
3121
3096
|
*/
|
|
@@ -3154,11 +3129,32 @@ declare module "inspector" {
|
|
|
3154
3129
|
* example, when inspector.waitingForDebugger is called
|
|
3155
3130
|
*/
|
|
3156
3131
|
prependOnceListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3132
|
+
/**
|
|
3133
|
+
* Contains an bucket of collected trace events.
|
|
3134
|
+
*/
|
|
3135
|
+
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3136
|
+
/**
|
|
3137
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3138
|
+
* delivered via dataCollected events.
|
|
3139
|
+
*/
|
|
3140
|
+
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3141
|
+
/**
|
|
3142
|
+
* Issued when attached to a worker.
|
|
3143
|
+
*/
|
|
3144
|
+
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3145
|
+
/**
|
|
3146
|
+
* Issued when detached from the worker.
|
|
3147
|
+
*/
|
|
3148
|
+
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3149
|
+
/**
|
|
3150
|
+
* Notifies about a new protocol message received from the session
|
|
3151
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3152
|
+
*/
|
|
3153
|
+
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3157
3154
|
prependOnceListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3158
3155
|
prependOnceListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3159
3156
|
}
|
|
3160
3157
|
}
|
|
3161
|
-
|
|
3162
3158
|
declare module "inspector/promises" {
|
|
3163
3159
|
export {
|
|
3164
3160
|
Schema,
|
|
@@ -3167,15 +3163,14 @@ declare module "inspector/promises" {
|
|
|
3167
3163
|
Console,
|
|
3168
3164
|
Profiler,
|
|
3169
3165
|
HeapProfiler,
|
|
3170
|
-
|
|
3171
|
-
NodeWorker,
|
|
3166
|
+
IO,
|
|
3172
3167
|
Network,
|
|
3173
3168
|
NodeRuntime,
|
|
3169
|
+
NodeTracing,
|
|
3170
|
+
NodeWorker,
|
|
3174
3171
|
Target,
|
|
3175
|
-
IO,
|
|
3176
3172
|
} from 'inspector';
|
|
3177
3173
|
}
|
|
3178
|
-
|
|
3179
3174
|
declare module "inspector/promises" {
|
|
3180
3175
|
import {
|
|
3181
3176
|
InspectorNotification,
|
|
@@ -3185,14 +3180,13 @@ declare module "inspector/promises" {
|
|
|
3185
3180
|
Console,
|
|
3186
3181
|
Profiler,
|
|
3187
3182
|
HeapProfiler,
|
|
3188
|
-
|
|
3189
|
-
NodeWorker,
|
|
3183
|
+
IO,
|
|
3190
3184
|
Network,
|
|
3191
3185
|
NodeRuntime,
|
|
3186
|
+
NodeTracing,
|
|
3187
|
+
NodeWorker,
|
|
3192
3188
|
Target,
|
|
3193
|
-
IO,
|
|
3194
3189
|
} from "inspector";
|
|
3195
|
-
|
|
3196
3190
|
/**
|
|
3197
3191
|
* The `inspector.Session` is used for dispatching messages to the V8 inspector
|
|
3198
3192
|
* back-end and receiving message responses and notifications.
|
|
@@ -3454,35 +3448,10 @@ declare module "inspector/promises" {
|
|
|
3454
3448
|
post(method: "HeapProfiler.stopSampling"): Promise<HeapProfiler.StopSamplingReturnType>;
|
|
3455
3449
|
post(method: "HeapProfiler.getSamplingProfile"): Promise<HeapProfiler.GetSamplingProfileReturnType>;
|
|
3456
3450
|
/**
|
|
3457
|
-
*
|
|
3458
|
-
*/
|
|
3459
|
-
post(method: "NodeTracing.getCategories"): Promise<NodeTracing.GetCategoriesReturnType>;
|
|
3460
|
-
/**
|
|
3461
|
-
* Start trace events collection.
|
|
3462
|
-
*/
|
|
3463
|
-
post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType): Promise<void>;
|
|
3464
|
-
/**
|
|
3465
|
-
* Stop trace events collection. Remaining collected events will be sent as a sequence of
|
|
3466
|
-
* dataCollected events followed by tracingComplete event.
|
|
3467
|
-
*/
|
|
3468
|
-
post(method: "NodeTracing.stop"): Promise<void>;
|
|
3469
|
-
/**
|
|
3470
|
-
* Sends protocol message over session with given id.
|
|
3471
|
-
*/
|
|
3472
|
-
post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType): Promise<void>;
|
|
3473
|
-
/**
|
|
3474
|
-
* Instructs the inspector to attach to running workers. Will also attach to new workers
|
|
3475
|
-
* as they start
|
|
3476
|
-
*/
|
|
3477
|
-
post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType): Promise<void>;
|
|
3478
|
-
/**
|
|
3479
|
-
* Detaches from all running workers and disables attaching to new workers as they are started.
|
|
3480
|
-
*/
|
|
3481
|
-
post(method: "NodeWorker.disable"): Promise<void>;
|
|
3482
|
-
/**
|
|
3483
|
-
* Detached from the worker with given sessionId.
|
|
3451
|
+
* Read a chunk of the stream
|
|
3484
3452
|
*/
|
|
3485
|
-
post(method: "
|
|
3453
|
+
post(method: "IO.read", params?: IO.ReadParameterType): Promise<IO.ReadReturnType>;
|
|
3454
|
+
post(method: "IO.close", params?: IO.CloseParameterType): Promise<void>;
|
|
3486
3455
|
/**
|
|
3487
3456
|
* Disables network tracking, prevents network events from being sent to the client.
|
|
3488
3457
|
*/
|
|
@@ -3506,28 +3475,52 @@ declare module "inspector/promises" {
|
|
|
3506
3475
|
*/
|
|
3507
3476
|
post(method: "Network.streamResourceContent", params?: Network.StreamResourceContentParameterType): Promise<Network.StreamResourceContentReturnType>;
|
|
3508
3477
|
/**
|
|
3509
|
-
* Fetches the resource and returns the content.
|
|
3478
|
+
* Fetches the resource and returns the content.
|
|
3479
|
+
*/
|
|
3480
|
+
post(method: "Network.loadNetworkResource", params?: Network.LoadNetworkResourceParameterType): Promise<Network.LoadNetworkResourceReturnType>;
|
|
3481
|
+
/**
|
|
3482
|
+
* Enable the NodeRuntime events except by `NodeRuntime.waitingForDisconnect`.
|
|
3483
|
+
*/
|
|
3484
|
+
post(method: "NodeRuntime.enable"): Promise<void>;
|
|
3485
|
+
/**
|
|
3486
|
+
* Disable NodeRuntime events
|
|
3487
|
+
*/
|
|
3488
|
+
post(method: "NodeRuntime.disable"): Promise<void>;
|
|
3489
|
+
/**
|
|
3490
|
+
* Enable the `NodeRuntime.waitingForDisconnect`.
|
|
3491
|
+
*/
|
|
3492
|
+
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType): Promise<void>;
|
|
3493
|
+
/**
|
|
3494
|
+
* Gets supported tracing categories.
|
|
3495
|
+
*/
|
|
3496
|
+
post(method: "NodeTracing.getCategories"): Promise<NodeTracing.GetCategoriesReturnType>;
|
|
3497
|
+
/**
|
|
3498
|
+
* Start trace events collection.
|
|
3499
|
+
*/
|
|
3500
|
+
post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType): Promise<void>;
|
|
3501
|
+
/**
|
|
3502
|
+
* Stop trace events collection. Remaining collected events will be sent as a sequence of
|
|
3503
|
+
* dataCollected events followed by tracingComplete event.
|
|
3510
3504
|
*/
|
|
3511
|
-
post(method: "
|
|
3505
|
+
post(method: "NodeTracing.stop"): Promise<void>;
|
|
3512
3506
|
/**
|
|
3513
|
-
*
|
|
3507
|
+
* Sends protocol message over session with given id.
|
|
3514
3508
|
*/
|
|
3515
|
-
post(method: "
|
|
3509
|
+
post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType): Promise<void>;
|
|
3516
3510
|
/**
|
|
3517
|
-
*
|
|
3511
|
+
* Instructs the inspector to attach to running workers. Will also attach to new workers
|
|
3512
|
+
* as they start
|
|
3518
3513
|
*/
|
|
3519
|
-
post(method: "
|
|
3514
|
+
post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType): Promise<void>;
|
|
3520
3515
|
/**
|
|
3521
|
-
*
|
|
3516
|
+
* Detaches from all running workers and disables attaching to new workers as they are started.
|
|
3522
3517
|
*/
|
|
3523
|
-
post(method: "
|
|
3524
|
-
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType): Promise<void>;
|
|
3518
|
+
post(method: "NodeWorker.disable"): Promise<void>;
|
|
3525
3519
|
/**
|
|
3526
|
-
*
|
|
3520
|
+
* Detached from the worker with given sessionId.
|
|
3527
3521
|
*/
|
|
3528
|
-
post(method: "
|
|
3529
|
-
post(method: "
|
|
3530
|
-
|
|
3522
|
+
post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType): Promise<void>;
|
|
3523
|
+
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType): Promise<void>;
|
|
3531
3524
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
3532
3525
|
/**
|
|
3533
3526
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3601,28 +3594,6 @@ declare module "inspector/promises" {
|
|
|
3601
3594
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3602
3595
|
*/
|
|
3603
3596
|
addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3604
|
-
/**
|
|
3605
|
-
* Contains an bucket of collected trace events.
|
|
3606
|
-
*/
|
|
3607
|
-
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3608
|
-
/**
|
|
3609
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3610
|
-
* delivered via dataCollected events.
|
|
3611
|
-
*/
|
|
3612
|
-
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3613
|
-
/**
|
|
3614
|
-
* Issued when attached to a worker.
|
|
3615
|
-
*/
|
|
3616
|
-
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3617
|
-
/**
|
|
3618
|
-
* Issued when detached from the worker.
|
|
3619
|
-
*/
|
|
3620
|
-
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3621
|
-
/**
|
|
3622
|
-
* Notifies about a new protocol message received from the session
|
|
3623
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3624
|
-
*/
|
|
3625
|
-
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3626
3597
|
/**
|
|
3627
3598
|
* Fired when page is about to send HTTP request.
|
|
3628
3599
|
*/
|
|
@@ -3661,6 +3632,28 @@ declare module "inspector/promises" {
|
|
|
3661
3632
|
* example, when inspector.waitingForDebugger is called
|
|
3662
3633
|
*/
|
|
3663
3634
|
addListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3635
|
+
/**
|
|
3636
|
+
* Contains an bucket of collected trace events.
|
|
3637
|
+
*/
|
|
3638
|
+
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3639
|
+
/**
|
|
3640
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3641
|
+
* delivered via dataCollected events.
|
|
3642
|
+
*/
|
|
3643
|
+
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3644
|
+
/**
|
|
3645
|
+
* Issued when attached to a worker.
|
|
3646
|
+
*/
|
|
3647
|
+
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3648
|
+
/**
|
|
3649
|
+
* Issued when detached from the worker.
|
|
3650
|
+
*/
|
|
3651
|
+
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3652
|
+
/**
|
|
3653
|
+
* Notifies about a new protocol message received from the session
|
|
3654
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3655
|
+
*/
|
|
3656
|
+
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3664
3657
|
addListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3665
3658
|
addListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3666
3659
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
@@ -3685,11 +3678,6 @@ declare module "inspector/promises" {
|
|
|
3685
3678
|
emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
|
|
3686
3679
|
emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
|
|
3687
3680
|
emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean;
|
|
3688
|
-
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
3689
|
-
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
3690
|
-
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
3691
|
-
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
3692
|
-
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
3693
3681
|
emit(event: "Network.requestWillBeSent", message: InspectorNotification<Network.RequestWillBeSentEventDataType>): boolean;
|
|
3694
3682
|
emit(event: "Network.responseReceived", message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
|
|
3695
3683
|
emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
|
|
@@ -3700,6 +3688,11 @@ declare module "inspector/promises" {
|
|
|
3700
3688
|
emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
|
|
3701
3689
|
emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
|
|
3702
3690
|
emit(event: "NodeRuntime.waitingForDebugger"): boolean;
|
|
3691
|
+
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
3692
|
+
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
3693
|
+
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
3694
|
+
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
3695
|
+
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
3703
3696
|
emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
3704
3697
|
emit(event: "Target.attachedToTarget", message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
3705
3698
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -3775,28 +3768,6 @@ declare module "inspector/promises" {
|
|
|
3775
3768
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3776
3769
|
*/
|
|
3777
3770
|
on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3778
|
-
/**
|
|
3779
|
-
* Contains an bucket of collected trace events.
|
|
3780
|
-
*/
|
|
3781
|
-
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3782
|
-
/**
|
|
3783
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3784
|
-
* delivered via dataCollected events.
|
|
3785
|
-
*/
|
|
3786
|
-
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3787
|
-
/**
|
|
3788
|
-
* Issued when attached to a worker.
|
|
3789
|
-
*/
|
|
3790
|
-
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3791
|
-
/**
|
|
3792
|
-
* Issued when detached from the worker.
|
|
3793
|
-
*/
|
|
3794
|
-
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3795
|
-
/**
|
|
3796
|
-
* Notifies about a new protocol message received from the session
|
|
3797
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3798
|
-
*/
|
|
3799
|
-
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3800
3771
|
/**
|
|
3801
3772
|
* Fired when page is about to send HTTP request.
|
|
3802
3773
|
*/
|
|
@@ -3835,6 +3806,28 @@ declare module "inspector/promises" {
|
|
|
3835
3806
|
* example, when inspector.waitingForDebugger is called
|
|
3836
3807
|
*/
|
|
3837
3808
|
on(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3809
|
+
/**
|
|
3810
|
+
* Contains an bucket of collected trace events.
|
|
3811
|
+
*/
|
|
3812
|
+
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3813
|
+
/**
|
|
3814
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3815
|
+
* delivered via dataCollected events.
|
|
3816
|
+
*/
|
|
3817
|
+
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3818
|
+
/**
|
|
3819
|
+
* Issued when attached to a worker.
|
|
3820
|
+
*/
|
|
3821
|
+
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3822
|
+
/**
|
|
3823
|
+
* Issued when detached from the worker.
|
|
3824
|
+
*/
|
|
3825
|
+
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3826
|
+
/**
|
|
3827
|
+
* Notifies about a new protocol message received from the session
|
|
3828
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3829
|
+
*/
|
|
3830
|
+
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3838
3831
|
on(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3839
3832
|
on(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3840
3833
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -3910,28 +3903,6 @@ declare module "inspector/promises" {
|
|
|
3910
3903
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3911
3904
|
*/
|
|
3912
3905
|
once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3913
|
-
/**
|
|
3914
|
-
* Contains an bucket of collected trace events.
|
|
3915
|
-
*/
|
|
3916
|
-
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3917
|
-
/**
|
|
3918
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3919
|
-
* delivered via dataCollected events.
|
|
3920
|
-
*/
|
|
3921
|
-
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3922
|
-
/**
|
|
3923
|
-
* Issued when attached to a worker.
|
|
3924
|
-
*/
|
|
3925
|
-
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3926
|
-
/**
|
|
3927
|
-
* Issued when detached from the worker.
|
|
3928
|
-
*/
|
|
3929
|
-
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3930
|
-
/**
|
|
3931
|
-
* Notifies about a new protocol message received from the session
|
|
3932
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3933
|
-
*/
|
|
3934
|
-
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3935
3906
|
/**
|
|
3936
3907
|
* Fired when page is about to send HTTP request.
|
|
3937
3908
|
*/
|
|
@@ -3970,6 +3941,28 @@ declare module "inspector/promises" {
|
|
|
3970
3941
|
* example, when inspector.waitingForDebugger is called
|
|
3971
3942
|
*/
|
|
3972
3943
|
once(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3944
|
+
/**
|
|
3945
|
+
* Contains an bucket of collected trace events.
|
|
3946
|
+
*/
|
|
3947
|
+
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3948
|
+
/**
|
|
3949
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3950
|
+
* delivered via dataCollected events.
|
|
3951
|
+
*/
|
|
3952
|
+
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3953
|
+
/**
|
|
3954
|
+
* Issued when attached to a worker.
|
|
3955
|
+
*/
|
|
3956
|
+
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3957
|
+
/**
|
|
3958
|
+
* Issued when detached from the worker.
|
|
3959
|
+
*/
|
|
3960
|
+
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3961
|
+
/**
|
|
3962
|
+
* Notifies about a new protocol message received from the session
|
|
3963
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3964
|
+
*/
|
|
3965
|
+
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3973
3966
|
once(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3974
3967
|
once(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3975
3968
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -4045,28 +4038,6 @@ declare module "inspector/promises" {
|
|
|
4045
4038
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
4046
4039
|
*/
|
|
4047
4040
|
prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
4048
|
-
/**
|
|
4049
|
-
* Contains an bucket of collected trace events.
|
|
4050
|
-
*/
|
|
4051
|
-
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4052
|
-
/**
|
|
4053
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4054
|
-
* delivered via dataCollected events.
|
|
4055
|
-
*/
|
|
4056
|
-
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4057
|
-
/**
|
|
4058
|
-
* Issued when attached to a worker.
|
|
4059
|
-
*/
|
|
4060
|
-
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4061
|
-
/**
|
|
4062
|
-
* Issued when detached from the worker.
|
|
4063
|
-
*/
|
|
4064
|
-
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4065
|
-
/**
|
|
4066
|
-
* Notifies about a new protocol message received from the session
|
|
4067
|
-
* (session ID is provided in attachedToWorker notification).
|
|
4068
|
-
*/
|
|
4069
|
-
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4070
4041
|
/**
|
|
4071
4042
|
* Fired when page is about to send HTTP request.
|
|
4072
4043
|
*/
|
|
@@ -4105,6 +4076,28 @@ declare module "inspector/promises" {
|
|
|
4105
4076
|
* example, when inspector.waitingForDebugger is called
|
|
4106
4077
|
*/
|
|
4107
4078
|
prependListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
4079
|
+
/**
|
|
4080
|
+
* Contains an bucket of collected trace events.
|
|
4081
|
+
*/
|
|
4082
|
+
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4083
|
+
/**
|
|
4084
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4085
|
+
* delivered via dataCollected events.
|
|
4086
|
+
*/
|
|
4087
|
+
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4088
|
+
/**
|
|
4089
|
+
* Issued when attached to a worker.
|
|
4090
|
+
*/
|
|
4091
|
+
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4092
|
+
/**
|
|
4093
|
+
* Issued when detached from the worker.
|
|
4094
|
+
*/
|
|
4095
|
+
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4096
|
+
/**
|
|
4097
|
+
* Notifies about a new protocol message received from the session
|
|
4098
|
+
* (session ID is provided in attachedToWorker notification).
|
|
4099
|
+
*/
|
|
4100
|
+
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4108
4101
|
prependListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
4109
4102
|
prependListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
4110
4103
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -4180,28 +4173,6 @@ declare module "inspector/promises" {
|
|
|
4180
4173
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
4181
4174
|
*/
|
|
4182
4175
|
prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
4183
|
-
/**
|
|
4184
|
-
* Contains an bucket of collected trace events.
|
|
4185
|
-
*/
|
|
4186
|
-
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4187
|
-
/**
|
|
4188
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4189
|
-
* delivered via dataCollected events.
|
|
4190
|
-
*/
|
|
4191
|
-
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4192
|
-
/**
|
|
4193
|
-
* Issued when attached to a worker.
|
|
4194
|
-
*/
|
|
4195
|
-
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4196
|
-
/**
|
|
4197
|
-
* Issued when detached from the worker.
|
|
4198
|
-
*/
|
|
4199
|
-
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4200
|
-
/**
|
|
4201
|
-
* Notifies about a new protocol message received from the session
|
|
4202
|
-
* (session ID is provided in attachedToWorker notification).
|
|
4203
|
-
*/
|
|
4204
|
-
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4205
4176
|
/**
|
|
4206
4177
|
* Fired when page is about to send HTTP request.
|
|
4207
4178
|
*/
|
|
@@ -4240,6 +4211,28 @@ declare module "inspector/promises" {
|
|
|
4240
4211
|
* example, when inspector.waitingForDebugger is called
|
|
4241
4212
|
*/
|
|
4242
4213
|
prependOnceListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
4214
|
+
/**
|
|
4215
|
+
* Contains an bucket of collected trace events.
|
|
4216
|
+
*/
|
|
4217
|
+
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4218
|
+
/**
|
|
4219
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4220
|
+
* delivered via dataCollected events.
|
|
4221
|
+
*/
|
|
4222
|
+
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4223
|
+
/**
|
|
4224
|
+
* Issued when attached to a worker.
|
|
4225
|
+
*/
|
|
4226
|
+
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4227
|
+
/**
|
|
4228
|
+
* Issued when detached from the worker.
|
|
4229
|
+
*/
|
|
4230
|
+
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4231
|
+
/**
|
|
4232
|
+
* Notifies about a new protocol message received from the session
|
|
4233
|
+
* (session ID is provided in attachedToWorker notification).
|
|
4234
|
+
*/
|
|
4235
|
+
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4243
4236
|
prependOnceListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
4244
4237
|
prependOnceListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
4245
4238
|
}
|