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

Clarification on behaviour of remaining futures in 'alternate-wait-action` #1307

Open
sameerajayasoma opened this issue Jun 20, 2024 · 1 comment
Labels
Area/Lang Relates to the Ballerina language specification spec/unclear Spec does not clearly explain the design Type/Improvement Enhancement to language design

Comments

@sameerajayasoma
Copy link
Contributor

The spec does not clearly explain what happens to the remaining futures when one future completes normally with a non-error value or completes abruptly in an alternate wait action.

@sameerajayasoma sameerajayasoma added the spec/unclear Spec does not clearly explain the design label Jun 20, 2024
@hasithaa
Copy link
Contributor

Other strands that the futures refer, to will be complete as normal because the wait action doesn't interrupt strands that are referred to. But when it comes to worker message send/receive that is a different story.

@anupama-pathirage anupama-pathirage added Type/Improvement Enhancement to language design Area/Lang Relates to the Ballerina language specification labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Lang Relates to the Ballerina language specification spec/unclear Spec does not clearly explain the design Type/Improvement Enhancement to language design
Projects
None yet
Development

No branches or pull requests

3 participants