Skip to main content

Module persistence

Module persistence 

Source
Expand description

Persistence adapter contract.

Lives in fluers-runtime (not fluers-postgres) so that SessionStore can be generic over it. A concrete backend (fluers-postgres) implements PersistenceAdapter; a JSON-file adapter ships in MVP 2 so sessions can resume after a process restart without requiring Postgres.

Enums§

PersistenceError
Errors from the persistence layer.

Traits§

PersistenceAdapter
The persistence contract for session state.

Type Aliases§

Result
Result alias for persistence operations.