apple / apple/swift-async-algorithms

Add `next(isolation:) async throws(Failure)` support to async sequences

Open
#391 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.7k
Forks
226
Avg merge
10d 3h
Merged PRs (30d)
1

Description

[SE-0421: Generalize effect polymorphism for AsyncSequence and AsyncIteratorProtocol](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0421-generalize-async-sequence.md) introduced `next(isolation:)` to `AsyncIteratorProtocol`. Poking around this package, I realized that most iterators are yet to implement the isolated version of next. Is there a specific reason why?

Contributor guide

Open the contributing guide

Research direction

Read SE-0421 first, then inspect the package’s AsyncSequence and AsyncIteratorProtocol implementations to identify iterators missing next(isolation:). Check the related iterator tests, if present, and consider the work complete when the relevant iterators support the new API while existing behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.