Skip to main content

with_txn_clock

Function with_txn_clock 

Source
pub fn with_txn_clock<R>(ts: Option<i64>, f: impl FnOnce() -> R) -> R
Expand description

Install a txn-start timestamp for the duration of f. Restores the previous value on return (nested-safe).