Chronik v0.1.2 Chronik View Source

Chronik is a lightweight EventSourcing/CQRS micro framework for Elixir.

Chronik application is composed of four components:

Link to this section Summary

Types

A command in Chronik is a tuple like {:cmd, arg1 arg2}

Domain events can have any form

The id represents an aggregate id. In principle this can be any term

Link to this section Types

Link to this type command() View Source
command() :: tuple

A command in Chronik is a tuple like {:cmd, arg1 arg2}

Link to this type domain_event() View Source
domain_event() :: term

Domain events can have any form.

The id represents an aggregate id. In principle this can be any term