View Source Electric.Replication.PersistentReplicationState (electric v1.0.0-beta.23)

Summary

Types

@type opts() :: [stack_id: String.t(), persistent_kv: Electric.PersistentKV.t()]

Functions

Link to this function

get_last_processed_lsn(opts)

View Source
@spec get_last_processed_lsn(opts()) :: Electric.Postgres.Lsn.t()
@spec reset(opts()) :: :ok
Link to this function

set_last_processed_lsn(lsn, opts)

View Source
@spec set_last_processed_lsn(Electric.Postgres.Lsn.t() | non_neg_integer(), opts()) ::
  :ok