AggregateIdempotency

Explicit command-idempotency opt-in for an aggregate definition.

tracker exposes committed idempotency state. event creates the aggregate's concrete IdempotencyEvent, which must belong to its event hierarchy; the aggregate evolver is responsible for applying that event to the tracker.

Constructors

Link copied to clipboard
constructor(tracker: (STATE) -> CommandIdempotencyTracker, event: (CommandIdempotency) -> EVENT)

Properties

Link copied to clipboard
Link copied to clipboard