fleet-plugging-promise-race
OfficialPrevent cross-iteration promise leaks
AuthorSocketDev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Solves cross-iteration promise leakage by ensuring each loop cycle awaits a fresh signal instead of reusing a pool.
Core Features & Use Cases
- Safe, single-waiter pattern: replaces a persistent pool with a fresh, per-iteration signal.
- Correct concurrency semantics: prevents handler accumulation in Promise.race/Promise.any across iterations.
- Use case: when implementing iterative concurrency limits in JavaScript/Node.js code that races multiple async tasks.
Quick Start
Replace the persistent pool of promises with a single-waiter signal so every loop iteration awaits a fresh promise.
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: fleet-plugging-promise-race Download link: https://github.com/SocketDev/socket-mcp/archive/main.zip#fleet-plugging-promise-race 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 510,000+ vetted skills library on demand.