Function golem_rust::use_retry_policy

source ยท
pub fn use_retry_policy(policy: RetryPolicy) -> RetryPolicyGuard
Expand description

Temporarily sets the retry policy to the given value.

When the returned guard is dropped, the original retry policy is restored.