Packages

Store-independent context-first Event Sourcing primitives for Gleam.

Current section

Files

Jump to
factos include factos_Decider.hrl
Raw

include/factos_Decider.hrl

-record(decider, {
initial :: any(),
decide :: fun((any(), any()) -> {ok, list(any())} | {error, any()}),
evolve :: fun((any(), any()) -> any())
}).