We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f298403 commit fc7064aCopy full SHA for fc7064a
RELEASE_NOTES.md
@@ -10,7 +10,15 @@
10
11
## New Features
12
13
-<!-- Here goes the main new features and examples or instructions on how to use them -->
+- There is a new `Receiver.matches` method that can be used instead of selected from:
14
+
15
+ ```python
16
+ async for selected in select(recv1, recv2):
17
+ if recv1.matches(selected):
18
+ print('Received from recv1:', selected.value)
19
+ if recv2.matches(selected):
20
+ print('Received from recv2:', selected.value)
21
+ ```
22
23
## Bug Fixes
24
0 commit comments