Classes

c
DomainEvent<T = unknown>(
runtime: IRuntimeServices,
data: T,
opts?: { aggregateId?: string; version?: number; }
)

Abstract base class for domain events.

c
InMemoryEventBus(options: EventDispatchOptions)

In-memory publish/subscribe event bus.

Functions

Interfaces

I
EventHandlerRegistration

One event handler and the event type it subscribes to.

I
EventsPluginOptions

Options for the EventsPlugin.

I
IDomainEvent

A domain event.

I
IDomainEvents

Records domain facts raised by one aggregate during its current operation.

I
IEventBus

In-memory publish/subscribe event bus for domain events.

Type Aliases