Function golem_rust::atomically
source ยท pub fn atomically<T>(f: impl FnOnce() -> T) -> TExpand description
Executes the given function as an atomic operation.
In case of a failure, the whole operation will be reexecuted during retry.
pub fn atomically<T>(f: impl FnOnce() -> T) -> TExecutes the given function as an atomic operation.
In case of a failure, the whole operation will be reexecuted during retry.