Skip to content

Commit

Permalink
Update examples/alternate-receive/alternate_receive.md
Browse files Browse the repository at this point in the history
Co-authored-by: lochana-chathura <39232462+lochana-chathura@users.noreply.github.com>
  • Loading branch information
poorna2152 and lochana-chathura authored Apr 10, 2024
1 parent 6ab0ccc commit 8d9e931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/alternate-receive/alternate_receive.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Alternate receive

The alternate receive action can be used to receive values from several workers. It operates by waiting until it encounters a non-error message, a panic termination status on a closed channel, or the closure of all channels. Alternate receive action sets the first non-error value it encounters as the outcome.
The alternate receive action can be used to receive values from multiple send actions. It operates by waiting until it encounters a non-error message, a panic termination status on a closed channel, or the closure of all channels. Alternate receive action sets the first non-error value it encounters as the outcome.

::: code alternate_receive.bal :::

Expand Down

0 comments on commit 8d9e931

Please sign in to comment.