UNPKG

@electron/remote

Version:

[![Test](https://github.com/electron/remote/actions/workflows/test.yml/badge.svg)](https://github.com/electron/remote/actions/workflows/test.yml) [![npm version](http://img.shields.io/npm/v/@electron/remote.svg)](https://npmjs.org/package/@electron/remote

12 lines (11 loc) 336 B
export declare class CallbacksRegistry { private nextId; private callbacks; private callbackIds; private locationInfo; add(callback: Function): number; get(id: number): Function; getLocation(callback: Function): string | undefined; apply(id: number, ...args: any[]): any; remove(id: number): void; }