Sha256: 73bc775421b44cf3f279d2d4485e6526e06317ff3ca6e923856136611520002b
Contents?: true
Size: 407 Bytes
Versions: 33
Compression:
Stored size: 407 Bytes
Contents
/// <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>>;
Version data entries
33 entries across 33 versions & 1 rubygems