asynquence is a small, promise-like flow library for composing asynchronous steps into readable sequences. Instead of juggling nested callbacks, you create a chain of operations that pass values forward and route errors consistently. It supports concurrency control via “gates” and “races,” letting multiple tasks proceed and rejoin at the right moment without complex bookkeeping. The design emphasizes clarity and debuggability, keeping stack traces and error paths straightforward. Plugins expand the core with helpers for iteration, mapping, timeouts, and integration with event sources, so you can grow from simple sequences to richer workflows. Even though modern Promises and async/await exist, asynquence remains a compact, educational model for structuring async code with explicit, composable semantics.

Features

  • Chainable sequences that pass results and route errors cleanly
  • Concurrency primitives (gates, races) to coordinate multiple tasks
  • Lightweight core with optional plugins for timers, mapping, iteration
  • Clear error handling and cancellation patterns to avoid “dangling” work
  • Works alongside callbacks, Promises, or generators where needed
  • Tiny footprint aimed at readability and maintainability

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow asynquence

asynquence Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of asynquence!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2025-10-16