Your IP : 3.142.42.247


Current Path : /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/@tootallnate/once/dist/
Upload File :
Current File : //opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/@tootallnate/once/dist/index.d.ts

/// <reference types="node" />
import { EventEmitter } from 'events';
import { EventNames, EventListenerParameters, AbortSignal } from './types';
export interface OnceOptions {
    signal?: AbortSignal;
}
export default function once<Emitter extends EventEmitter, Event extends EventNames<Emitter>>(emitter: Emitter, name: Event, { signal }?: OnceOptions): Promise<EventListenerParameters<Emitter, Event>>;

?>