apple / apple/swift-async-algorithms
Provide a higher arity version of merge(…)
Open
Future
- Dominant language
- Swift
- Stars
- 3.7k
- Forks
- 226
- Avg merge
- 10d 3h
- Merged PRs (30d)
- 1
Description
I've got a use case where I have an unknown number of `AsyncChannel`s that I want to merge into a single stream of events.
It'd be wonderful if `merge(…)` and friends supported more than an arity of 3 - ideally accepting a sequence?
Thanks!
Contributor guide
Research direction
Start by locating the existing merge(...) and related arity-three APIs, then read the tests that exercise them. Determine how a sequence of AsyncChannels should be represented and confirm the expected behavior for an unknown number of inputs. Done means the merge APIs support the requested higher-arity or sequence-based use case with test coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- stream-processing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100