InMemoryEventBus.prototype.publishBatch(events: IDomainEvent[]): Promise<void>
Publishes multiple events, each to its own subscribers.
events: IDomainEvent[]
The events to publish, in array order
InMemoryEventBus.prototype.publishBatch(events: IDomainEvent[]): Promise<void>
Publishes multiple events, each to its own subscribers.
events: IDomainEvent[]
The events to publish, in array order
import { InMemoryEventBus } from "events-plugin/src/index.ts";