ballerina-platform / ballerina-spec

Ballerina Language and Platform Specifications
Other
168 stars 53 forks source link

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

Open sameerajayasoma opened 3 months ago

sameerajayasoma commented 3 months ago

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.

hasithaa commented 3 months ago

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.