The IEventBusAdapter contract defines a way for dispatching and listening to events independent of underlying technology. This contract is not meant to be used directly, instead you should use IEventBus
IEventBusAdapter
IEventBus
IMPORT_PATH: "@daiso-tech/core/event-bus/contracts"
"@daiso-tech/core/event-bus/contracts"
The addListener method is used for adding listener for certain eventName.
addListener
listener
eventName
The dispatch method is used for dispatching one or multiple events.
dispatch
events
The removeListener method is used for removing listener for certain eventName.
removeListener
The
IEventBusAdapter
contract defines a way for dispatching and listening to events independent of underlying technology. This contract is not meant to be used directly, instead you should useIEventBus
IMPORT_PATH:
"@daiso-tech/core/event-bus/contracts"