Swiftpack.co - AppAccount/AsyncStream as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by AppAccount.
AppAccount/AsyncStream 2.1.0
Concurrency safe wrapper for (NS)Stream class cluster using Swift 5.5 Async/Await and Actors.
⭐️ 2
🕓 1 week ago
iOS macOS
.package(url: "https://github.com/AppAccount/AsyncStream.git", from: "2.1.0")

AsyncStream

Concurrency safe wrapper for (NS)Stream class cluster using Swift 5.5 Async/Await and Actors. InputStreamActor for reading from a stream oriented source and OutputStreamActor for writing to a stream oriented sink.

Stream events are processed on RunLoop.current. As a client of this package, you are responsible for ensuring the RunLoop is actually running, whether using the main thread runloop or explicitly running a background thread runloop.

GitHub

link
Stars: 2
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Support iOS 13 and MacOS 11 ahead of Xcode 13.2 release
1 week ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics