Function atomically_aux

Source
pub async fn atomically_aux<T, F, A, X>(aux: A, f: F) -> T
where X: Aux, A: Fn() -> X, F: Fn(&mut X) -> Stm<T>,
Expand description

The primary verbs to interact with STM transactions. Like atomically, but this version also takes an auxiliary transaction system that gets committed or rolled back together with the STM transaction.