Type Alias IEventBusFactory<TAdapters, TEventMap>

IEventBusFactory: { use(adapterName?: TAdapters): IEventBus<TEventMap> }

The IEventBusFactory contract makes it easy to configure and switch between different IEventBus dynamically.

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

Type Parameters

Type declaration