Type Alias IEventBus<TEvents>

IEventBus<TEvents>: IEventListenable<TEvents> & IEventDispatcher<TEvents> & {
    getGroup(): string;
}

The IEventBus contract defines a way for dispatching and listening to events independent of underlying technology. It commes with more convient methods compared to IEventBusAdapter.

IMPORT_PATH: "@daiso-tech/core/event-bus/contracts"

Type Parameters

Type declaration