Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw authored Nov 20, 2024
1 parent ac80a99 commit a2dc628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/streaming/selecting-from-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Channel clauses include:
* `Sink.sendClause(value)` - to send a value to a channel
* `Default(value)` - to return the given value from the `select`, if no other clause can be immediately satisfied

## Receiving from exactly one channel
## Receiving exactly one value from multiple channels

The most common use-case for `select` is to receive exactly one value from a number of channels. There's a dedicated
`select` variant for this use-case, which accepts a number of `Source`s, for which receive clauses are created. The
Expand Down

0 comments on commit a2dc628

Please sign in to comment.