Interface EventManager<T>

interface EventManager<T> {
    off<K>(name: K, handler: EventHandler<T[K]>): void;
    on<K>(name: K, handler: EventHandler<T[K]>, opts?: EventOptions): void;
    trigger<K>(name: K, payload?: T[K]): void;
}

Type Parameters

Hierarchy (view full)

Methods

Methods