asyncredux-abort-dispatch
CommunityConditionally skip AsyncRedux actions in Flutter.
Software Engineering#Flutter#state-management#AsyncRedux#abortDispatch#conditional-dispatch#action-lifecycle
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables conditional skipping of an AsyncRedux action before it is dispatched, preventing unnecessary state changes when preconditions are not met.
Core Features & Use Cases
- Conditional dispatch: Use abortDispatch to skip actions when preconditions fail (e.g., user not authenticated, maintenance mode).
- Lifecycle safety: When aborted, before/reduce/after steps are not executed, preserving current state.
- Pattern examples: Show how to build base actions (AuthenticatedAction, AdminAction) that leverage abortDispatch to enforce access control.
Quick Start
Configure an action that aborts dispatch when the user is not logged in, and provide a safe reduce when dispatch proceeds.
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: asyncredux-abort-dispatch Download link: https://github.com/marcglasberg/async_redux/archive/main.zip#asyncredux-abort-dispatch 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.