Skip to content

Move AnyAsyncSequenceWorker into WorkflowConcurrency as AsyncSequenceWorker #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2025

Conversation

mjohnson12
Copy link
Collaborator

@mjohnson12 mjohnson12 commented Jun 2, 2025

This moves AnyAsyncSequenceWorker from WorkflowExperimental in register into WorkflowConcurrency as AsyncSequenceWorker.

** Update **
After pairing with @jamieQ I've pushed out an update that includes his change that adds a Sequence associated type that can be used to require Element from AsyncSequence to match Output.
This allows the worker workflow to be able to get typed output from the for await.

Checklist

  • Unit Tests
  • UI Tests
  • Snapshot Tests (iOS only)
  • I have made corresponding changes to the documentation

@mjohnson12 mjohnson12 force-pushed the markj/asyncsequence_worker branch from e7ec195 to 04a8cd0 Compare June 2, 2025 15:16
@mjohnson12 mjohnson12 changed the title Move AnyAsyncSequence into WorkflowConcurrency as AsyncSequenceWorker Move AnyAsyncSequenceWorker into WorkflowConcurrency as AsyncSequenceWorker Jun 2, 2025
@mjohnson12 mjohnson12 force-pushed the markj/asyncsequence_worker branch from 389e6a1 to d631ceb Compare June 23, 2025 18:14
@mjohnson12 mjohnson12 marked this pull request as ready for review June 24, 2025 14:39
@mjohnson12 mjohnson12 requested a review from a team as a code owner June 24, 2025 14:39
Changed Output to require Sendable
Running for await on the main actor
@mjohnson12 mjohnson12 merged commit 8e0ddb0 into main Jun 30, 2025
8 checks passed
@mjohnson12 mjohnson12 deleted the markj/asyncsequence_worker branch June 30, 2025 14:00
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.

3 participants