Function async_stm::atomically_aux
source · pub async fn atomically_aux<F, T, A, X>(aux: A, f: F) -> Twhere
X: Aux,
A: Fn() -> X,
F: Fn(&mut X) -> StmResult<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.