AsyncFunctionExtension2<R, A, B> extension

on

Methods

retry(A a, B b, {R? defaultValue, bool throwOnRetryExhaustion = false, int maxRetries = 3, Duration? retryDelay, Duration? computeDelay(int retry)?, bool? onError(Object error, StackTrace stackTrace, int retries)?}) FutureOr<R?>

Available on AsyncFunction2<R, A, B>, provided by the AsyncFunctionExtension2 extension

Alias to asyncRetry.