Skip to content

[Executors] Clean up how we unwrap the local executor of distributed custom actor #64719

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

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Mar 29, 2023

The previous implementation relied on a hacky _ protocol requirement.
This is a proper implementation of the "we want to unwrap and offer a nice error" and removes the temporary workaround.

Thank you @slavapestov for the help here!

@ktoso ktoso force-pushed the wip-cleanup-hop-to-distributed-custom-executor branch from ffbfdfd to f0f0084 Compare March 29, 2023 15:30
@ktoso
Copy link
Contributor Author

ktoso commented Mar 29, 2023

@swift-ci please smoke test

@ktoso ktoso added concurrency Feature: umbrella label for concurrency language features distributed Feature → concurrency: distributed actor labels Mar 29, 2023
@ktoso ktoso merged commit edb66df into swiftlang:main Mar 29, 2023
@ktoso ktoso deleted the wip-cleanup-hop-to-distributed-custom-executor branch March 29, 2023 21:22
etcwilde pushed a commit to etcwilde/swift that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency Feature: umbrella label for concurrency language features distributed Feature → concurrency: distributed actor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants