google / promises
git clone https://github.com/google/promises.git
2.4.1 · 4mo ago
🔥 on GitHub Trending today
Promises is a modern framework that provides a synchronization construct for Swift and Objective-C.
+0
stars, 24h · #633
+3
stars, 7 days · #1,619
+4
stars, 30 days · #10,046
3.8k
★ total · +0% this week
316
forks · 32 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageObjective-C
LicenseApache-2.0
Created2018-01-19 (8y ago)
Last push4mo ago
Watchers70
OwnerOrganization
Seen on GitHub Trending
- 2026-10-20 — #4 daily in objective-c
- 2026-10-20 — #10 monthly in objective-c · +4 ★
- 2026-10-20 — #7 weekly in objective-c · +3 ★
GitHub topics
Links
- GitHub: github.com/google/promises
- Releases · Issues · Hacker News mentions
README excerpt
# Promises Promises is a modern framework that provides a synchronization construct for Objective-C and Swift to facilitate writing asynchronous code. * Introduction * The problem with async code * Promises to the rescue * What is a promise? * Framework * Features * Benchmark * Getting started * Add dependency * Import * Adopt * Basics * Creating promises * Async * Do * Pending * Resolved * Observing fulfillment * Then * Observing rejection * Catch * Extensions * All * Always * Any * AwaitPromise * Delay * Race * Recover * Reduce * Retry * Timeout * Validate * Wrap * Advanced topics * Default dispatch queue * Ownership and retain cycles * Testing * Objective-C Swift interoperability * Dot-syntax in Objective-C * Anti-patterns * Broken chain * Nested promises