canRetryCourseISchool<T> function
- AsyncValue<
T> refresh, - AsyncValue<
void> availability
Retry is safe only after both halves of the current attempt have settled.
Implementation
bool canRetryCourseISchool<T>(
AsyncValue<T> refresh,
AsyncValue<void> availability,
) => refresh.hasError && !refresh.isLoading && !availability.isLoading;