vtils

Home > utils > EventBusBeforeOn

EventBusBeforeOn type

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