Promises 一个为Objective-C和Swift提供同步构造的现代框架

网友投稿 613 2022-11-02

Promises 一个为Objective-C和Swift提供同步构造的现代框架

Promises 一个为Objective-C和Swift提供同步构造的现代框架

Promises

Promises is a modern framework that provides a synchronization construct for Objective-C and Swift to facilitate writing asynchronous code.

IntroductionThe problem with async codePromises to the rescueWhat is a promise? FrameworkFeaturesBenchmark Getting startedAdd dependencyImportAdopt BasicsCreating promisesAsyncDoPendingResolved Observing fulfillmentThen Observing rejectionCatch ExtensionsAllAlwaysAnyAwaitDelayRaceRecoverReduceRetryTimeoutValidateWrap Advanced topicsDefault dispatch queueOwnership and retain cyclesTestingObjective-C <-> Swift interoperabilityDot-syntax in Objective-C Anti-patternsBroken chainNested promises

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:restassured + testng + aspectj + jooq + ... = 具有超高灵活性的自动化测试框架
下一篇:mybatis多个区间处理方式(双foreach循环)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~