# JakeWharton/retrofit2-kotlin-coroutines-adapter

A Retrofit 2 adapter for Kotlin coroutine's Deferred type.

Repository: https://github.com/JakeWharton/retrofit2-kotlin-coroutines-adapter
Canonical: https://ross.abutalabs.com/products/retrofit2-kotlin-coroutines-adapter
Language: Kotlin
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2019-06-05T18:32:47+00:00

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

## Adoption (not part of the score)
Stars 1960, forks 130 (observed 2026-08-28T04:05:59.399757+00:00)

## What it is
A Retrofit 2 CallAdapter.Factory that lets Retrofit service methods return Kotlin coroutine Deferred types. It is deprecated because Retrofit 2.6.0+ includes built-in suspend function support.

## Use cases
- make Retrofit API calls with Kotlin coroutines Deferred
- add coroutine support to an older Retrofit client
- return Deferred<Response<T>> from Retrofit service methods
- migrate legacy Retrofit coroutine adapters to suspend functions

## When to choose
- you are stuck on Retrofit older than 2.6.0 and cannot upgrade
- you maintain a legacy codebase already using Deferred-based Retrofit services

## When to avoid
- you are starting a new project - use Retrofit 2.6.0+ built-in suspend support
- you are on Kotlin 1.3+ with modern coroutines
- you need a maintained library

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, concurrency, middleware
- domain: developer-tools, web-development, apis
- platform: jvm
- tags: retrofit, coroutines, kotlin, call-adapter, deprecated, android

## Member repositories
- JakeWharton/retrofit2-kotlin-coroutines-adapter (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.399757+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:05:43.810772+00:00, confidence not recorded.
  - readme: https://github.com/JakeWharton/retrofit2-kotlin-coroutines-adapter (fetched 2026-08-28T04:05:59.399757+00:00, sha f390b7531450)
- Data as of 2026-08-30T08:39:29.467469+00:00.
