asyncredux-streams-timers
CommunityManage AsyncRedux streams and timers safely.
System Documentation
What problem does it solve?
Managing streams and timers in Flutter apps using AsyncRedux is error-prone when placed inside widgets or stored directly in the Redux state. This Skill centralizes time-based and stream-based logic by storing timers and stream subscriptions in the store's props, enabling deterministic cleanup and predictable lifecycles across screens and the app.
Core Features & Use Cases
- Start and stop timers and streams from Redux actions while dispatching corresponding updates.
- Store references to timers and stream subscriptions in store props for safe lifecycle management.
- Dispose timers, futures, and subscriptions automatically via disposeProp(s) to prevent leaks during navigation or app shutdown.
- Apply screen-level (onInit/onDispose) and app-wide patterns to manage resources consistently.
Quick Start
Implement a StartPollingAction that stores a periodic Timer in props and a StopPollingAction that disposes it, ensuring the timer dispatches actions on tick and cleanup happens on disposal.
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-streams-timers Download link: https://github.com/marcglasberg/async_redux/archive/main.zip#asyncredux-streams-timers 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.