asyncredux-retry-mixin

Community

Auto-retry failed actions with backoff.

Authormarcglasberg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Retry mixin simplifies robust error handling by automatically retrying failed actions with exponential backoff, reducing boilerplate and improving resilience.

Core Features & Use Cases

  • Automatic retries: Retry failed reduce() executions with configurable delays and a maximum retry limit.
  • Exponential backoff: Delays grow multiplicatively to adapt to transient failures.
  • Unlimited retries option: Combine with UnlimitedRetries to retry indefinitely until success.

Quick Start

Add the Retry mixin to an action and implement reduce() to perform the operation. Example: class LoadDataAction extends AppAction with Retry { Future<AppState?> reduce() async { var data = await fetchData(); return state.copy(data: data); } }

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: asyncredux-retry-mixin
Download link: https://github.com/marcglasberg/async_redux/archive/main.zip#asyncredux-retry-mixin

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.