# scala/scala-async

An asynchronous programming facility for Scala

Repository: https://github.com/scala/scala-async
Canonical: https://ross.abutalabs.com/products/scala-async
Language: Scala
License: Apache-2.0
License Family: permissive
Topics: scala, scala-async, asynchronous, concurrency
Last push: 2026-08-21T23:18:07+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 4902, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1161, forks 84 (observed 2026-08-28T04:03:49.239337+00:00)

## What it is
A Scala DSL providing async/await-style syntax for composing scala.concurrent Futures in direct style. It transforms async blocks at compile time into non-blocking state-machine code.

## Use cases
- write async await style code in scala
- compose futures without nested flatMap callbacks
- run multiple futures concurrently and await results
- avoid blocking on Future results in scala
- simplify asynchronous control flow with if and await

## When to choose
- you use Scala 2.12/2.13 with scala.concurrent.Future and want direct-style async code
- you want compile-time transformation with no runtime dependency overhead beyond a small library
- chained flatMap/map combinators make your Future code hard to read

## When to avoid
- you are on Scala 3, which has native async/await support in the standard library ecosystem
- you use effect libraries like ZIO or Cats Effect with their own concurrency primitives
- you need runtime-scheduled async rather than compile-time transformed blocks

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, serialization
- domain: developer-tools, programming-languages
- platform: jvm
- tags: scala, async-await, futures, dsl, compiler-macro, algorithms

## Member repositories
- scala/scala-async (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.239337+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-30T06:31:43.991315+00:00, confidence not recorded.
  - readme: https://github.com/scala/scala-async (fetched 2026-08-28T04:03:49.239337+00:00, sha f09c40e71511)
- Data as of 2026-08-30T08:39:29.467469+00:00.
