AsyncFunctionExtension1<R, A> extension

on

Methods

retry(A a, {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 AsyncFunction1<R, A>, provided by the AsyncFunctionExtension1 extension

Alias to asyncRetry.