From a2dc6287c8481de6f1365a8ad1b1741718c0d6a9 Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Wed, 20 Nov 2024 16:20:28 +0100 Subject: [PATCH] Docs --- doc/streaming/selecting-from-channels.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/streaming/selecting-from-channels.md b/doc/streaming/selecting-from-channels.md index 2cbd2afb..0928e061 100644 --- a/doc/streaming/selecting-from-channels.md +++ b/doc/streaming/selecting-from-channels.md @@ -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