continuum_state library

Continuum State — State-based persistence strategy.

Provides adapter-driven target persistence for backends that store full entity state (REST APIs, databases, GraphQL) rather than event streams. Reuses the shared session lifecycle from continuum_uow.

Classes

StateBasedSession
Session implementation backed by TargetPersistenceAdapter instances.
StateBasedStore
Store implementation backed by TargetPersistenceAdapter instances.
TargetPersistenceAdapter<TTarget>
Adapter interface for state-based target persistence.

Typedefs

AggregatePersistenceAdapter<TTarget> = TargetPersistenceAdapter<TTarget>
Backward-compatible alias for the old name.

Exceptions / Errors

PermanentAdapterException
Thrown when an adapter encounters a permanent backend failure.
TransientAdapterException
Thrown when an adapter encounters a transient backend failure.