Skip to content

add Executor::run_with_local #6

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

Closed
wants to merge 1 commit into from

Conversation

Keruspe
Copy link
Contributor

@Keruspe Keruspe commented Jul 31, 2020

Alternative to #3

This adds a run_with_local method to Executor, which creates a LocalExecutor and runs it alongside the main one, to allow !Send futures to be spawned.

Signed-off-by: Marc-Antoine Perennou <[email protected]>
@ghost
Copy link

ghost commented Aug 29, 2020

Thanks for the PR! But, I think this change is not applicable anymore because we don't have Task::local() anymore, so I'm going to close. Sorry! I feel like I'm closing so many PRs that other people have put effort into. :(

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant