promises-training
SwiftCoroutine
promises-training | SwiftCoroutine | |
---|---|---|
2 | 1 | |
722 | 832 | |
- | - | |
9.1 | 0.0 | |
about 2 months ago | over 2 years ago | |
TypeScript | Swift | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
promises-training
SwiftCoroutine
-
How do you escape completion hell?
As a last solution that I am currently working with, you can use SwiftCoroutine, which is a runtime implementation of async/await and some other coroutine primitives. Though that one may break debugger support and also lead to unexpected behavior.
What are some alternatives?
await-to-js - Async await wrapper for easy error handling without try-catch
Threadly - Type-safe thread-local storage in Swift
promise-fun - Promise packages, patterns, chat, and tutorials
solver7-csp - CSP like thread management with Swift. I became interested in Swift when I saw that it is becoming compatible with TensorFlow. I reworked an old Java project of mine from 1998 in order to learn how to do some things in Swift.
async-interval-job - ⨠setInterval for promises and async/sync functions. Support graceful shutdown and prevent multiple executions from overlapping in time.
Lottie - An iOS library to natively render After Effects vector animations
p-map - Map over promises concurrently
PromiseKit - Promises for Swift & ObjC.
vue-promise-dialogs - A tiny & modern library that allows you to work with dialogs as with asynchronous functions.
DZNEmptyDataSet - A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display
ts-async-kit - the easiest API to deal with promises in Typescript. Currently, âŠī¸ Retrying đââī¸ looping & đ´ sleeping
Kommander - A lightweight, pure-Swift library for manage the task execution in different threads. Through the definition a simple but powerful concept, Kommand.