Current section

Files

Jump to
eventsourcing include eventsourcing_EventStore.hrl
Raw

include/eventsourcing_EventStore.hrl

-record(event_store, {
eventstore :: any(),
load_aggregate :: fun((any(), binary()) -> eventsourcing:aggregate_context(any(), any(), any(), any())),
commit :: fun((any(), eventsourcing:aggregate_context(any(), any(), any(), any()), list(any())) -> list(eventsourcing:event_envelop(any())))
}).