evoq_checkpoint_store_ets (evoq v1.5.0)
View SourceETS-based checkpoint store implementation.
In-memory checkpoint storage for development and testing. For production, use a persistent implementation (e.g., database-backed).
Note: Checkpoints are lost on application restart. Use only for development or projections that can easily rebuild.
Summary
Functions
Delete checkpoint for a projection.
Load checkpoint for a projection.
Save checkpoint for a projection.
Start the checkpoint store.
Functions
-spec delete(atom()) -> ok.
Delete checkpoint for a projection.
-spec load(atom()) -> {ok, non_neg_integer()} | {error, not_found}.
Load checkpoint for a projection.
-spec save(atom(), non_neg_integer()) -> ok.
Save checkpoint for a projection.
Start the checkpoint store.