apple / apple/swift-async-algorithms

Subject equivalent?

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

Description

We need a way to imperatively pipe events into a AsyncSequence same asi Subjects from Combine did, or Kotlin's MutableState/SharedFlow

AsynchChannel feels like a low level primitive to be used for state tracking the way CurrentValueSubject was

Contributor guide

Open the contributing guide

Research direction

Start by comparing the requested imperative AsyncSequence behavior with AsyncChannel, Combine Subjects, Kotlin MutableState/SharedFlow, and CurrentValueSubject. Done would mean defining and implementing a clear API for piping events into an AsyncSequence, but this issue does not name files or tests to guide the work.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.