GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — typings: add missing properties and method in Worker · nodejs/node@ef4c596

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • typings/internalBinding
    • worker.d.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎typings/internalBinding/worker.d.ts‎

Copy file name to clipboardExpand all lines: typings/internalBinding/worker.d.ts
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ declare namespace InternalWorkerBinding {
1111
);
1212
startThread(): void;
1313
stopThread(): void;
14+
hasRef(): boolean;
1415
ref(): void;
1516
unref(): void;
1617
getResourceLimits(): Float64Array;
@@ -38,7 +39,9 @@ export interface WorkerBinding {
3839
Worker: typeof InternalWorkerBinding.Worker;
3940
getEnvMessagePort(): InternalMessagingBinding.MessagePort;
4041
threadId: number;
42+
threadName: string;
4143
isMainThread: boolean;
44+
isInternalThread: boolean;
4245
ownsProcessState: boolean;
4346
resourceLimits?: Float64Array;
4447
kMaxYoungGenerationSizeMb: number;

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.