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 watchdog internal binding types · nodejs/node@215223d

File tree

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

‎typings/globals.d.ts‎

Copy file name to clipboardExpand all lines: typings/globals.d.ts
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import { URLPatternBinding } from "./internalBinding/url_pattern";
3535
import { UtilBinding } from './internalBinding/util';
3636
import { UVBinding } from './internalBinding/uv';
3737
import { WASIBinding } from './internalBinding/wasi';
38+
import { WatchdogBinding } from './internalBinding/watchdog';
3839
import { WorkerBinding } from './internalBinding/worker';
3940
import { ZlibBinding } from './internalBinding/zlib';
4041

@@ -76,6 +77,7 @@ interface InternalBindingMap {
7677
util: UtilBinding;
7778
uv: UVBinding;
7879
wasi: WASIBinding;
80+
watchdog: WatchdogBinding;
7981
worker: WorkerBinding;
8082
zlib: ZlibBinding;
8183
}
Collapse file

‎typings/internalBinding/watchdog.d.ts‎

Copy file name to clipboard
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
declare namespace InternalWatchdogBinding {
2+
class TraceSigintWatchdog {
3+
constructor();
4+
start(): void;
5+
stop(): void;
6+
close(callback?: () => void): void;
7+
hasRef(): boolean;
8+
ref(): void;
9+
unref(): void;
10+
}
11+
}
12+
13+
export interface WatchdogBinding {
14+
TraceSigintWatchdog: typeof InternalWatchdogBinding.TraceSigintWatchdog;
15+
}

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.