# Promises (Google)

> Promises for asynchronous code in Swift and Objective-C

Source: https://talira.ai/catalog/promises-google-5j9cjqmv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / concurrency](https://talira.ai/categories/libraries/concurrency), [languages / swift](https://talira.ai/categories/languages/swift), [languages / objective c](https://talira.ai/categories/languages/objective-c)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^3]

Promises is Google's framework that brings promises to Objective-C and Swift for writing asynchronous code. Promises created in one language can be used in the other, observer blocks run on any thread or dispatch queue, and its overhead is close to GCD and completion handlers. It has extensions such as all, any, race, retry, timeout, delay and recover, and a testing helper. It targets macOS, iOS, tvOS and watchOS and installs with SwiftPM, CocoaPods, Carthage or Bazel.

## Links

- GitHub: https://github.com/google/promises
- Docs: https://github.com/google/promises/blob/master/g3doc/index.md

## Problems it solves

- avoid nested completion handlers in an iOS app
- chain asynchronous calls in Objective-C and Swift code that share types
- retry or time out an async operation in Swift

## Features

- Promises usable across Objective-C and Swift
- Observer blocks dispatched on any thread or custom queue
- Overhead close to GCD and completion handlers
- Extensions such as all, any, race, retry, timeout, delay and recover
- Installs with SwiftPM, CocoaPods, Carthage or Bazel

## Trust

Overall: 0.43 out of 1.
Signals: maintenance 0.27, adoption 0.72, momentum 0.47, community 0.65, backing 0.55, extensibility 0.00.

- latest release 2.4.1 5 months ago
- 3.8k GitHub stars
- 42 contributors
- backed by Google
- funding: public company (NASDAQ:GOOGL)

Warnings:

- last commit 5 months ago

## Alternatives

- [Queuer](https://talira.ai/catalog/queuer-sz7nxfwr.md): Queue manager for Swift on OperationQueue and GCD
- [Swift Atomics](https://talira.ai/catalog/swift-atomics-0s961ng7.md): Low-level atomic operations for Swift

## Sources

[^1]: https://github.com/google/promises/blob/master/g3doc/index.md (checked 28 Nov 2026)
[^2]: https://github.com/google/promises/blob/master/LICENSE (checked 28 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
