@boost/event
Version:
An event system with multiple emitter patterns.
11 lines • 425 B
TypeScript
import { BaseEvent } from './BaseEvent';
export declare class WaterfallEvent<Arg, Scope extends string = string> extends BaseEvent<Arg, [
Arg
], Scope> {
/**
* Synchronously execute listeners with the defined argument value.
* The return value of each listener will be passed as an argument to the next listener.
*/
emit(arg: Arg, scope?: Scope): Arg;
}
//# sourceMappingURL=WaterfallEvent.d.ts.map