View Source Blunt.AggregateRoot behaviour (blunt_ddd v0.1.0)

Link to this section Summary

Link to this section Types

Specs

domain_event() :: struct()

Specs

state() :: struct()

Link to this section Callbacks

Link to this callback

apply(state, domain_event)

View Source

Specs

apply(state(), domain_event()) :: state()