mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 08:36:01 +00:00
6625c9bc48
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";
|