The IEventBusFactory contract makes it easy to configure and switch between different IGroupableEventBus dynamically.
IMPORT_PATH: "@daiso-tech/core/event-bus/contracts"
"@daiso-tech/core/event-bus/contracts"
The use method will throw an error if you provide it unregisted adapter. If no default adapter is defined an error will be thrown by use method.
Optional
UnregisteredAdapterError
DefaultAdapterNotDefinedError
The IEventBusFactory contract makes it easy to configure and switch between different IGroupableEventBus dynamically.
IMPORT_PATH:
"@daiso-tech/core/event-bus/contracts"