add-non-reentrant
CommunityPrevent duplicate Cubit calls with ease.
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents concurrent execution of a Cubit method by applying nonReentrant to mix calls.
Core Features & Use Cases
- Adds a nonReentrant guard to mix calls so that a running operation cannot be started again, avoiding race conditions and duplicate work.
- Supports common UI patterns like rapid button taps, pull-to-refresh, and form submissions by ensuring only the first call executes while others are ignored.
Quick Start
Add the nonReentrant option to the mix call in your Cubit to prevent concurrent execution.
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-non-reentrant Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#add-non-reentrant 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.