A comprehensive Swift library providing primitives for concurrency and reactive programming, simplifying asynchronous code.
AsyncNinja is a Swift library that provides a comprehensive set of primitives for concurrency and reactive programming. It solves the problem of writing clean, safe, and maintainable asynchronous code by offering constructs like Futures, Promises, and Channels, along with automatic lifecycle and threading management.
Swift developers building iOS, macOS, tvOS, watchOS, or Linux applications who need robust asynchronous and reactive programming tools.
Developers choose AsyncNinja for its ability to drastically reduce boilerplate, eliminate common concurrency pitfalls like retain cycles and manual queue dispatching, and provide a unified API for both reactive and asynchronous patterns.
A complete set of primitives for concurrency and reactive programming on Swift
Eliminates the need for [weak self] and manual DispatchQueue calls by using context parameters that automatically handle lifecycle and threading, as shown in the view controller examples.
Provides Futures, Promises, Channels, Producers, Sinks, and Caches, covering a wide range of asynchronous and reactive patterns in a unified API.
Supports all Apple platforms (macOS, iOS, tvOS, watchOS) and Linux, making it a versatile choice for Swift projects across different environments.
Offers high-level operations like debounce, distinct, and recover for reactive streams, significantly cutting down repetitive code in scenarios like search input handling.
Requires different library versions for different Swift releases (e.g., 1.4.0 for Swift 4.2/5.0, 1.3.0 for Swift 4.0+), complicating dependency management in projects with mixed or legacy codebases.
With Swift 5.5 introducing built-in async/await and structured concurrency, AsyncNinja may become redundant for new projects adopting these modern language constructs, leading to potential code bloat.
Has a smaller community and fewer third-party integrations compared to established alternatives like RxSwift, which can hinder finding pre-built solutions or community support for edge cases.
⚡️ Lightweight full-featured Promises, Async & Await Library in Swift
Coroutines, structured concurrency and CSP for Swift on macOS and Linux.
Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD).
Swift coroutines for iOS, macOS and Linux.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.