Sha256: 90fd138c2bdd985e24cc5948f3e1cdcb94dab6b2a4c9560649b8db1327be1cf5

Contents?: true

Size: 508 Bytes

Versions: 20

Compression:

Stored size: 508 Bytes

Contents

/// <reference types="node" />
import { EventEmitter } from 'events';
declare function once<T>(emitter: EventEmitter, name: string): once.CancelablePromise<T>;
declare namespace once {
    interface CancelFunction {
        (): void;
    }
    interface CancelablePromise<T> extends Promise<T> {
        cancel: CancelFunction;
    }
    type CancellablePromise<T> = CancelablePromise<T>;
    function spread<T extends any[]>(emitter: EventEmitter, name: string): once.CancelablePromise<T>;
}
export = once;

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
appmap-0.72.2 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.72.1 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.72.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.71.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.70.2 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.70.1 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.70.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.69.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.68.2 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.68.1 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.68.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.67.1 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.67.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.66.2 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.66.1 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.66.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.65.1 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.65.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.64.0 ./node_modules/@tootallnate/once/dist/index.d.ts
appmap-0.63.0 ./node_modules/@tootallnate/once/dist/index.d.ts