A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/dc21054a1e below:

add inspector internalBinding typing · nodejs/node@dc21054 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+38

-0

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+38

-0

lines changed Original file line number Diff line number Diff line change

@@ -4,6 +4,7 @@ import { ConfigBinding } from './internalBinding/config';

4 4

import { ConstantsBinding } from './internalBinding/constants';

5 5

import { DebugBinding } from './internalBinding/debug';

6 6

import { HttpParserBinding } from './internalBinding/http_parser';

7 +

import { InspectorBinding } from './internalBinding/inspector';

7 8

import { FsBinding } from './internalBinding/fs';

8 9

import { FsDirBinding } from './internalBinding/fs_dir';

9 10

import { MessagingBinding } from './internalBinding/messaging';

@@ -31,6 +32,7 @@ interface InternalBindingMap {

31 32

fs: FsBinding;

32 33

fs_dir: FsDirBinding;

33 34

http_parser: HttpParserBinding;

35 +

inspector: InspectorBinding;

34 36

messaging: MessagingBinding;

35 37

modules: ModulesBinding;

36 38

options: OptionsBinding;

Original file line number Diff line number Diff line change

@@ -0,0 +1,36 @@

1 +

interface InspectorConnectionInstance {

2 +

dispatch(message: string): void;

3 +

disconnect(): void;

4 +

}

5 + 6 +

interface InspectorConnectionConstructor {

7 +

new(onMessageHandler: (message: string) => void): InspectorConnectionInstance;

8 +

}

9 + 10 +

export interface InspectorBinding {

11 +

consoleCall(

12 +

inspectorMethod: (...args: any[]) => any,

13 +

nodeMethod: (...args: any[]) => any,

14 +

...args: any[]

15 +

): void;

16 +

setConsoleExtensionInstaller(installer: Function): void;

17 +

callAndPauseOnStart(

18 +

fn: (...args: any[]) => any,

19 +

thisArg: any,

20 +

...args: any[]

21 +

): any;

22 +

open(port: number, host: string): void;

23 +

url(): string | undefined;

24 +

waitForDebugger(): boolean;

25 +

asyncTaskScheduled(taskName: string, taskId: number, recurring: boolean): void;

26 +

asyncTaskCanceled(taskId: number): void;

27 +

asyncTaskStarted(taskId: number): void;

28 +

asyncTaskFinished(taskId: number): void;

29 +

registerAsyncHook(enable: () => void, disable: () => void): void;

30 +

isEnabled(): boolean;

31 +

emitProtocolEvent(eventName: string, params: object): void;

32 +

setupNetworkTracking(enable: () => void, disable: () => void): void;

33 +

console: Console;

34 +

Connection: InspectorConnectionConstructor;

35 +

MainThreadConnection: InspectorConnectionConstructor;

36 +

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4