pub async fn send_with_retry<A: Future<Output = Result<B>> + Send, B: Send>(
f: impl Fn() -> A + Send,
) -> Result<B>
Expand description
Same as send_with_retry_opts
but uses RetryOptions::default
.
pub async fn send_with_retry<A: Future<Output = Result<B>> + Send, B: Send>(
f: impl Fn() -> A + Send,
) -> Result<B>
Same as send_with_retry_opts
but uses RetryOptions::default
.