8000 Make .then() consume the task and defined moved-from task as invalid by danvratil · Pull Request #248 · qcoro/qcoro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make .then() consume the task and defined moved-from task as invalid #248

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danvratil
Copy link
Collaborator

The .then() continuation will consume the task (move from it), leaving the task in a moved-from state.

Additionally, a moved-from state is now well-defined (to be identical to default-constructed) as the task not every being resumed.

This is an initial exploration for issue #243

The .then() continuation will consume the task (move from it), leaving the
task in a moved-from state.

Additionally, a moved-from state is now well-defined (to be identical to
default-constructed) as the task not every being resumed.
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.

1 participant
0