Home > utils > EventBusBeforeOn
Signature:
export declare type EventBusBeforeOn<TListeners extends EventBusListeners> = {
[TListenerName in keyof TListeners]?: (this: EventBus<TListeners>, callback: EventBusListener<TListeners[TListenerName]>) => TListeners[TListenerName];
};
References: EventBusListeners, EventBus, EventBusListener