mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
Added support for validating and managing return values in events. Implemented `validate` and `clone` methods in the event base class for event mutation and return handling. Additionally, enhanced error handling, introduced "once" listeners, and improved async execution management in the `EventManager`.
9 lines
266 B
TypeScript
9 lines
266 B
TypeScript
export { Event, NoParamEvent, InvalidEventReturn } from "./Event";
|
|
export {
|
|
EventListener,
|
|
ListenerModes,
|
|
type ListenerMode,
|
|
type ListenerHandler
|
|
} from "./EventListener";
|
|
export { EventManager, type EmitsEvents, type EventClass } from "./EventManager";
|