@boost/event
Version:
An event system with multiple emitter patterns.
8 lines • 325 B
TypeScript
import { BaseEvent } from './BaseEvent';
export declare class Event<Args extends unknown[], Scope extends string = string> extends BaseEvent<void, Args, Scope> {
/**
* Synchronously execute listeners with the defined arguments.
*/
emit(args: Args, scope?: Scope): void;
}
//# sourceMappingURL=Event.d.ts.map