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

Fix restarting coroutines #3005

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

This PR changes use_coroutine to re-use the stale closure and restart logic from use_future. use_coroutine is now just a version of use_future that creates a channel for you and adds itself through the context API

Fixes #3004

@ealmloff ealmloff added breaking This is a breaking change hooks Changes to built-in hook package labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This is a breaking change hooks Changes to built-in hook package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restarting coroutines does not do anything
2 participants