{"id":1111,"url":"https://github.com/google/promises","last_synced_at":"2025-05-11T03:37:27.943Z","repository":{"id":37936286,"uuid":"118067898","full_name":"google/promises","owner":"google","description":"Promises is a modern framework that provides a synchronization construct for Swift and Objective-C.","archived":false,"fork":false,"pushed_at":"2024-11-05T18:26:00.000Z","size":504,"stargazers_count":3826,"open_issues_count":41,"forks_count":300,"subscribers_count":73,"default_branch":"master","last_synced_at":"2025-05-08T22:37:36.397Z","etag":null,"topics":["framework","futures","library","objective-c","promises","swift"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-19T02:50:16.000Z","updated_at":"2025-05-06T08:45:17.000Z","dependencies_parsed_at":"2024-11-05T23:11:51.111Z","dependency_job_id":null,"html_url":"https://github.com/google/promises","commit_stats":{"total_commits":222,"total_committers":42,"mean_commits":5.285714285714286,"dds":0.5675675675675675,"last_synced_commit":"d6d659a6cbdd4108788781d178a72fd34ce07e6e"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpromises","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpromises/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpromises/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fpromises/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/promises/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166473,"owners_count":21864467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["framework","futures","library","objective-c","promises","swift"],"created_at":"2024-01-05T20:15:39.145Z","updated_at":"2025-05-11T03:37:27.896Z","avatar_url":"https://github.com/google.png","language":"Objective-C","readme":"[![Apache\nLicense](https://img.shields.io/github/license/google/promises.svg)](LICENSE)\n[![Travis](https://api.travis-ci.org/google/promises.svg?branch=master)](https://travis-ci.org/google/promises)\n[![Gitter Chat](https://badges.gitter.im/google/promises.svg)](https://gitter.im/google/promises)\n\n![Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20iOS%20%7C%20tvOS%20%7C%20watchOS-blue.svg?longCache=true\u0026style=flat)\n![Languages](https://img.shields.io/badge/languages-Swift%20%7C%20ObjC-orange.svg?longCache=true\u0026style=flat)\n![Package Managers](https://img.shields.io/badge/supports-Bazel%20%7C%20SwiftPM%20%7C%20CocoaPods%20%7C%20Carthage-yellow.svg?longCache=true\u0026style=flat)\n\n# Promises\n\nPromises is a modern framework that provides a synchronization construct for\nObjective-C and Swift to facilitate writing asynchronous code.\n\n*   [Introduction](g3doc/index.md)\n    *   [The problem with async\n        code](g3doc/index.md#the-problem-with-async-code)\n    *   [Promises to the rescue](g3doc/index.md#promises-to-the-rescue)\n    *   [What is a promise?](g3doc/index.md#what-is-a-promise)\n*   [Framework](g3doc/index.md#framework)\n    *   [Features](g3doc/index.md#features)\n    *   [Benchmark](g3doc/index.md#benchmark)\n*   [Getting started](g3doc/index.md#getting-started)\n    *   [Add dependency](g3doc/index.md#add-dependency)\n    *   [Import](g3doc/index.md#import)\n    *   [Adopt](g3doc/index.md#adopt)\n*   [Basics](g3doc/index.md#basics)\n    *   [Creating promises](g3doc/index.md#creating-promises)\n        *   [Async](g3doc/index.md#async)\n        *   [Do](g3doc/index.md#do)\n        *   [Pending](g3doc/index.md#pending)\n        *   [Resolved](g3doc/index.md#create-a-resolved-promise)\n    *   [Observing fulfillment](g3doc/index.md#observing-fulfillment)\n        *   [Then](g3doc/index.md#then)\n    *   [Observing rejection](g3doc/index.md#observing-rejection)\n        *   [Catch](g3doc/index.md#catch)\n*   [Extensions](g3doc/index.md#extensions)\n    *   [All](g3doc/index.md#all)\n    *   [Always](g3doc/index.md#always)\n    *   [Any](g3doc/index.md#any)\n    *   [AwaitPromise](g3doc/index.md#awaitpromise)\n    *   [Delay](g3doc/index.md#delay)\n    *   [Race](g3doc/index.md#race)\n    *   [Recover](g3doc/index.md#recover)\n    *   [Reduce](g3doc/index.md#reduce)\n    *   [Retry](g3doc/index.md#retry)\n    *   [Timeout](g3doc/index.md#timeout)\n    *   [Validate](g3doc/index.md#validate)\n    *   [Wrap](g3doc/index.md#wrap)\n*   [Advanced topics](g3doc/index.md#advanced-topics)\n    *   [Default dispatch queue](g3doc/index.md#default-dispatch-queue)\n    *   [Ownership and retain\n        cycles](g3doc/index.md#ownership-and-retain-cycles)\n    *   [Testing](g3doc/index.md#testing)\n    *   [Objective-C \u003c-\u003e Swift\n        interoperability](g3doc/index.md#objective-c---swift-interoperability)\n    *   [Dot-syntax in Objective-C](g3doc/index.md#dot-syntax-in-objective-c)\n*   [Anti-patterns](g3doc/index.md#anti-patterns)\n    *   [Broken chain](g3doc/index.md#broken-chain)\n    *   [Nested promises](g3doc/index.md#nested-promises)\n","funding_links":[],"categories":["EventBus","Objective-C","HarmonyOS","前端开发框架及项目","Objective-C  Stars 1000以内排名整理"],"sub_categories":["Getting Started","Other free courses","Linter","Windows Manager","iOS_Swift应用开发"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fpromises","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fpromises","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fpromises/lists"}