swift-async-algorithms
swift-async-algorithms copied to clipboard
Async Algorithms for Swift
For sequences that chunk based on a signal, the signal will be effectively ignored if no elements were received since the previous signal. Adding an option to pass an empty...
has its "Source" link as , which is a 404. It appears the file has been moved to and the documentation was not updated.
I see this both on linux x86_64 and Android AArch64. Is there no linux CI for this repo?
Pretty much the same as `Sequence.enumerated` but for `AsyncSequence`. eg Translates `["a", "b", "c"]` to `[(0,"a"), (1, "b"), (2, "c")]`
Hello, I have been working on converting code from RxSwift to Swift Concurrency since last week and have successfully transitioned some parts. However, **I am currently looking for a way...
async chunked sequences can produce empty chunks if signals are received before primary chunk elements. This commit also includes an accompanying evolution proposal.
Why is this? It is making it difficult to integrate with [SE-0421](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0421-generalize-async-sequence.md#error-type-inference-from-for-try-await-loops).
This PR implements a method to wait for an asynchronous sequence to complete. Fix #265
I'm trying to convert legacy RxSwift code where I was using the [`buffer(timeSpan:count:scheduler:)`](https://docs.rxswift.org/protocols/observabletype#/s:7RxSwift14ObservableTypePAAE6buffer8timeSpan5count9schedulerAA0C0CySay7ElementQzGG8Dispatch0K12TimeIntervalO_SiAA09SchedulerD0_ptF) methods. I've found the .buffer in this package, but unfortunately, the current policies are all based on...
This PR fixes code that caused compile errors when enabling the Swift 6 language mode.