mongez-reinforcements-async - Async and Promise control flow utilities.
Provides Promise-based control flow utilities including sleep, retry, timeout, bounded concurrency, defer, poll, and async debounce.
Tags
Updated: 2026-09-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Delay execution using sleep
- Retry operations with backoff
- Enforce promise execution timeouts
- Execute object promises in parallel
- Control concurrency with pMap
- Execute async functions in series
- Filter items asynchronously with pFilter
- Create externally resolvable deferred promises
- Debounce async operations
- Poll functions until condition succeeds
- Wait for boolean conditions
- Reduce arrays asynchronously with pReduce
Inputs
- Function parameters
- Timeout and delay durations
- AbortSignal objects
- Retry options and callbacks
Outputs
- Resolved promise values
- Rejected promise errors
- Deferred promise controllers
- Debounced async functions
- Reusable retryable functions
Requirements
- JavaScript runtime environment
- @mongez/reinforcements package
