Current section
Files
Jump to
Current section
Files
include/eventsourcing_EventSourcing.hrl
-record(event_sourcing, {
event_store :: eventsourcing:event_store(any(), any(), any(), any(), any(), any()),
query_actors :: list(gleam@erlang@process:name(eventsourcing:query_message(any()))),
handle :: fun((any(), any()) -> {ok, list(any())} | {error, any()}),
apply :: fun((any(), any()) -> any()),
empty_state :: any(),
snapshot_config :: gleam@option:option(eventsourcing:snapshot_config()),
start_time :: gleam@time@timestamp:timestamp(),
commands_processed :: integer()
}).