Skip to content

Commit

Permalink
Update examples/alternate-receive/alternate_receive.bal
Browse files Browse the repository at this point in the history
Co-authored-by: Maryam Ziyad <maryamziyadm@gmail.com>
  • Loading branch information
poorna2152 and MaryamZi authored Aug 25, 2024
1 parent e553991 commit c2d4f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/alternate-receive/alternate_receive.bal
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function getFirstFetched(string url1, string url2) returns string? {
result -> w3;
}

// Worker `w3` waits until one of the workers returns a non-error value.
// Worker `w3` waits until one of the workers sends a non-error value.
worker w3 returns string? {
// The value of the variable `result` is set as soon as
// a non-error message is received from either worker `w1` or `w2`.
Expand Down

0 comments on commit c2d4f1e

Please sign in to comment.