StoreWriter
Write half of the store SPI. Implementations enlist on TxContext.transaction and must not commit the transaction themselves. Each write assigns and returns the new version from the store's commit order (a sequence, identity, or version column); the caller never supplies it.
Inheritors
Functions
Link copied to clipboard
Reads key's current persisted value within tx for read-modify-write, e.g. a locking SELECT … FOR UPDATE on the transaction's connection. Override it to support MutableFlowStore.get within a transaction (the default throws); the read should see the transaction's own uncommitted writes and serialise concurrent writers.