File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 11# Frequenz channels Release Notes
22
3- ## New Features
3+ ## Summary
4+
5+ <!-- Here goes a general summary of what this release is about -->
46
5- - There is a new ` Receiver.triggered ` method that can be used instead of ` selected_from ` :
7+ ## Upgrading
68
7- ``` python
8- async for selected in select(recv1, recv2):
9- if recv1.triggered(selected):
10- print (' Received from recv1:' , selected.message)
11- if recv2.triggered(selected):
12- print (' Received from recv2:' , selected.message)
13- ```
9+ <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
10+
11+ ## New Features
1412
15- * ` Receiver.filter() ` can now properly handle ` TypeGuard ` s. The resulting receiver will now have the narrowed type when a ` TypeGuard ` is used.
13+ <!-- Here goes the main new features and examples or instructions on how to use them -->
1614
1715## Bug Fixes
1816
19- - Fixed a memory leak in the timer.
17+ <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
You can’t perform that action at this time.
0 commit comments