get

abstract fun get(key: K, tx: T): V?(source)

Reads key's current value within tx, always through the store and bypassing the cache, so it sees this transaction's own uncommitted writes and can take a locking read. Use for read-modify-write; use the cache-first get outside a transaction.