# Thomvis/BrightFutures

Write great asynchronous code in Swift using futures and promises

Repository: https://github.com/Thomvis/BrightFutures
Canonical: https://ross.abutalabs.com/products/brightfutures
Language: Swift
License: MIT
License Family: permissive
Topics: swift, asynchronous-programming, concurrency, futures, promises
Archived: true
Last push: 2022-07-02T18:27:43+00:00

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

## Adoption (not part of the score)
Stars 1898, forks 188 (observed 2026-08-28T04:05:51.242029+00:00)

## What it is
BrightFutures is a Swift library implementing futures and promises for asynchronous programming, offering a functional alternative to completion blocks with typesafe error handling. It has reached end-of-life as Swift's built-in async/await makes it obsolete.

## Use cases
- write asynchronous code in Swift with futures and promises
- replace completion blocks with composable async results
- handle errors typesafely in async Swift code
- chain asynchronous operations in iOS apps
- migrate legacy promise-based code to async/await

## When to choose
- maintaining an older Swift codebase already using BrightFutures
- working in a Swift version without async/await support
- you prefer functional futures/promises over completion handlers

## When to avoid
- starting a new Swift project - use built-in async/await instead
- you need an actively maintained dependency
- targeting modern Swift concurrency features

## Facets
- artifact type: library
- maturity: abandoned
- function: concurrency
- domain: developer-tools, mobile-development
- platform: -
- tags: futures, promises, async, swift, end-of-life, ios, macos

## Member repositories
- Thomvis/BrightFutures (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.242029+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:12:12.428447+00:00, confidence not recorded.
  - readme: https://github.com/Thomvis/BrightFutures (fetched 2026-08-28T04:05:51.242029+00:00, sha bf58cbad0d40)
- Data as of 2026-08-30T08:39:29.467469+00:00.
