disintegrate_postgres

Function decision_maker

Source
pub fn decision_maker<E: Event + Send + Sync + Clone, S: Serde<E> + Clone + Sync + Send>(
    event_store: PgEventStore<E, S>,
) -> PgDecisionMaker<E, S, NoSnapshot>
Expand description

Creates a decision maker specialized for Postgres without snapshotting.

§Arguments

  • event_store: An instance of PgEventStore.

§Returns

A PgDecisionMaker without snapshotting.