The addListener method is used for adding EventListenerFn for certain eventName.
The dispatch method is used for dispatching one or multiple events.
The removeListener method is used for removing EventListenerFn for certain eventName.
The
NoOpEventBusAdapterwill do nothing and is used for easily mockingIEventBusfor testing.IMPORT_PATH:
"@daiso-tech/core/event-bus/no-op-event-bus-adapter"