# getify/asynquence

Asynchronous flow control (promises, generators, observables, CSP, etc)

Repository: https://github.com/getify/asynquence
Canonical: https://ross.abutalabs.com/products/asynquence
Language: JavaScript
License Family: other
Topics: javascript, async, flow-control, promises, generators, observables, csp, streams, async-programming, async-await, library
Archived: true
Last push: 2020-03-04T12:19:15+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5322, "days_push": 2373, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1733, forks 146 (observed 2026-08-28T04:05:28.873543+00:00)

## What it is
asynquence is a small JavaScript library providing promise-style async sequence flow control, built as an abstraction on top of promise chains. It supports expressing async steps with callbacks, promises, generators, observables, and CSP-style coroutine concurrency via contrib plugins.

## Use cases
- chain multiple async tasks in sequence without callback hell
- run async steps using generators or async/await
- coordinate parallel async tasks with gates and races
- emulate go-style CSP goroutines with generator coroutines
- handle event-reactive streams with observable-style sequences
- iterate over lists with async batch processing

## When to choose
- you want a lightweight, dependency-free async flow-control abstraction over promises
- you need mixed paradigms (callbacks, promises, generators, CSP) in one API
- you're following You Don't Know JS async patterns and want the companion library

## When to avoid
- you only need native promises or async/await with no extra abstractions
- you want a actively developed library with recent releases
- you need a full reactive streams implementation like RxJS

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, middleware
- domain: developer-tools, web-development
- platform: browser, cross-platform
- tags: promises, generators, observables, csp, async-flow-control, streams, async-await, javascript, nodejs

## Member repositories
- getify/asynquence (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.873543+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:27.482836+00:00, confidence not recorded.
  - readme: https://github.com/getify/asynquence (fetched 2026-08-28T04:05:28.873543+00:00, sha efb627165d16)
  - registry_npm: https://registry.npmjs.org/asynquence (fetched 2026-08-29T11:08:30.082196+00:00, sha 3a000dafcde2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
