# Kotlin/kotlinx.coroutines

Library support for Kotlin coroutines

Repository: https://github.com/Kotlin/kotlinx.coroutines
Canonical: https://ross.abutalabs.com/products/kotlinxcoroutines
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: kotlin, coroutines, async
Last push: 2026-08-26T14:23:40+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 59, longevity 100
- inputs: {"age_days": 3724, "days_push": 7, "days_rel": 117, "gap_med": 102.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13805, forks 1947 (observed 2026-08-28T04:11:04.859715+00:00)

## What it is
The official JetBrains library providing coroutine support for Kotlin, with multiplatform support across JVM, Android, JS, Native, and Wasm. It offers coroutine builders, dispatchers, Flow reactive streams, and synchronization primitives like Channel, Mutex, and Semaphore.

## Use cases
- write asynchronous non-blocking code in Kotlin
- run background tasks off the main thread on Android
- build reactive data streams with Flow
- cancel and structure concurrent tasks safely
- integrate with CompletableFuture and Promise APIs
- parallelize work with async/await-style concurrency

## When to choose
- you need structured concurrency and cancellation in Kotlin
- you are building Android, server-side, or multiplatform Kotlin apps with async needs
- you want Flow-based reactive streams without heavy frameworks

## When to avoid
- your project is not in Kotlin or a Kotlin-compatible target
- you need a general-purpose threading library for non-Kotlin JVM languages

## Facets
- artifact type: library
- maturity: stable
- function: concurrency
- domain: developer-tools, cross-platform
- platform: jvm, cross-platform
- tags: kotlin, coroutines, async, flow, structured-concurrency, multiplatform, android, ios, web-server, nodejs

## Member repositories
- Kotlin/kotlinx.coroutines (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:04.859715+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-29T17:13:01.750875+00:00, confidence not recorded.
  - readme: https://github.com/Kotlin/kotlinx.coroutines (fetched 2026-08-28T04:11:04.859715+00:00, sha 61e232f7796f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
