UNPKG

@boost/event

Version:

An event system with multiple emitter patterns.

9 lines 444 B
import { BaseEvent } from './BaseEvent'; export declare class ConcurrentEvent<Args extends unknown[], Scope extends string = string> extends BaseEvent<Promise<unknown>, Args, Scope> { /** * Asynchronously execute listeners for with the defined arguments. * Will return a promise with an array of each listener result. */ emit(args: Args, scope?: Scope): Promise<unknown[]>; } //# sourceMappingURL=ConcurrentEvent.d.ts.map