Skip to content

Make AsyncShareSequence Type Public#412

Open
AGiersch1804 wants to merge 1 commit into
apple:mainfrom
AGiersch1804:public-asyncsharesequence
Open

Make AsyncShareSequence Type Public#412
AGiersch1804 wants to merge 1 commit into
apple:mainfrom
AGiersch1804:public-asyncsharesequence

Conversation

@AGiersch1804
Copy link
Copy Markdown

Summary

  • Makes the AsyncShareSequence<Base> type public.
  • Changes the return type of AsyncSequence.share(bufferingPolicy:) from the opaque some AsyncSequence<Element, Failure> & Sendable type to the concrete AsyncShareSequence<Self> type.

This allows dependent codebases to store a sequence that has used the .share() modifier.

Test Plan

  • swift build succeeds locally

# Summary
Makes the `AsyncShareSequence<Base>` type and required protocol conformance public.

This allows dependent codebases to store a sequence that has used the `.share()` modifier.

# Test Plan

- [x] `swift build` succeeds locally
@AGiersch1804 AGiersch1804 marked this pull request as ready for review April 28, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant