Function golem_rust::infallible_transaction
source · pub fn infallible_transaction<Out>(
f: impl FnOnce(&mut InfallibleTransaction) -> Out,
) -> Out
Expand description
Retry the transaction in case of failure. If any operation returns with a failure, all the already executed successful operation’s compensation actions are executed in reverse order and the transaction gets retried, using Golem’s active retry policy.