Skip to content
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

Support task executors #341

Open
gjcairo opened this issue Jan 13, 2025 · 0 comments
Open

Support task executors #341

gjcairo opened this issue Jan 13, 2025 · 0 comments

Comments

@gjcairo
Copy link

gjcairo commented Jan 13, 2025

swift-async-algorithms spawns unstructured tasks in several places (like for the merge operation). This is problematic because it doesn’t propagate the current preferred executor to these tasks. This means that it’s impossible to compose usage of these operations with custom task executors.

This should be fixed, either by seeing if it's possible to refactor these operations to use structured concurrency, or by setting a task executor on these unstructured tasks.

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

No branches or pull requests

1 participant