withRetry static method
NeatStatusProvider
withRetry(
- NeatStatusProvider provider, {
- RetryOptions options = const RetryOptions(),
Wrap a NeatStatusProvider such that get/set are retried on any Exception.
While not ideal, fetching a status object is usually low-overhead, so unnecessary retries are cheap.
Implementation
static NeatStatusProvider withRetry(NeatStatusProvider provider,
{RetryOptions options = const RetryOptions()}) =>
_NeatStatusProviderWithRetry(provider, options);