asyncredux-retry-mixin
Installation
SKILL.md
Retry Mixin
The Retry mixin automatically retries failed actions using exponential backoff. When an error occurs in the reduce() method, the action is re-executed with progressively increasing delays between attempts.
Basic Usage
Add the Retry mixin to any action that should automatically retry on failure:
class LoadDataAction extends AppAction with Retry {
Future<AppState?> reduce() async {
var data = await fetchDataFromServer();
return state.copy(data: data);
}
}