UNPKG

@ea-utilities/mediator

Version:

Utility for the Mediator Pattern Mediator is a versatile class designed to streamline event-driven, asynchronous programming. It enables you to easily register, unregister, and invoke subscriber methods, making it ideal for managing WebSockets, Ajax call

2 lines (1 loc) 83 B
export declare function Event(eventName: string): (constructor: Function) => void;