incident v0.2.0 API Reference

Modules

An aggregate is the unit of business logic in the domain. The business logic is used to handle commands and also to apply events to change the aggregate state.

Defines an Aggregate State macro that receives the aggregate module and an initial state.

Defines the API for a Command.

Defines a Command Handler that receives a command to

Defines the common data structure for any event that is persisted in the Event Store.

Defines the API for an Event Handler.

Defines the API to interact with the Event Store.

Defines the API for an Event Store adapter.

Implements an in-memory Event Store using Agents.

Defines the API to interact with the Projection Store.

Defines the API for a Projection Store adapter.

Implements an in-memory Projection Store using Agents.