add-retry
CommunityAdd automatic retry with exponential backoff to Cubits.
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reduces flakiness in Cubit-based apps by automatically retrying transient failures during critical operations.
Core Features & Use Cases
- Retry integration: Injects a retry wrapper into mix() calls with configurable attempts and backoff.
- Configurable timing: Supports maxRetries, initialDelay, multiplier, and maxDelay for exponential backoff.
- Use Case: Ideal for network/API calls and data fetches that may temporarily fail.
Quick Start
Add retry to a Cubit method by wrapping the asynchronous work with mix using the retry option and optional timing settings.
Dependency Matrix
Required Modules
None requiredComponents
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: add-retry Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#add-retry Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.