Packages

DDD semantics for blunt

Current section

Files

Jump to
blunt_ddd lib blunt aggregate_root.ex
Raw

lib/blunt/aggregate_root.ex

defmodule Blunt.AggregateRoot do
@type state :: struct()
@type domain_event :: struct()
@callback apply(state, domain_event) :: state
end