LocalFirstDomainEventBus

constructor(distributedBus: DistributedDomainEventBus, localBus: LocalDomainEventBus = InMemoryDomainEventBus())

Creates a new LocalFirstDomainEventBus with the specified buses

Parameters

distributedBus

The distributed event bus

localBus

The local event bus (default: InMemoryDomainEventBus)