8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
There was an error while loa 8000 ding. Please reload this page.
1 parent f611ec0 commit 9468adeCopy full SHA for 9468ade
typings/internalBinding/worker.d.ts
@@ -11,6 +11,7 @@ declare namespace InternalWorkerBinding {
11
);
12
startThread(): void;
13
stopThread(): void;
14
+ hasRef(): boolean;
15
ref(): void;
16
unref(): void;
17
getResourceLimits(): Float64Array;
@@ -38,7 +39,9 @@ export interface WorkerBinding {
38
39
Worker: typeof InternalWorkerBinding.Worker;
40
getEnvMessagePort(): InternalMessagingBinding.MessagePort;
41
threadId: number;
42
+ threadName: string;
43
isMainThread: boolean;
44
+ isInternalThread: boolean;
45
ownsProcessState: boolean;
46
resourceLimits?: Float64Array;
47
kMaxYoungGenerationSizeMb: number;
0 commit comments