Skip to content

Commit

Permalink
Update release notes
Browse files Browse the repository at this point in the history
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
  • Loading branch information
shsms committed Oct 31, 2024
1 parent 4ce4814 commit 7005e83
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@

## New Features

<!-- 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:

```python
async for selected in select(recv1, recv2):
if recv1.matches(selected):
print('Received from recv1:', selected.value)
if recv2.matches(selected):
print('Received from recv2:', selected.value)
```

## Bug Fixes

Expand Down

0 comments on commit 7005e83

Please sign in to comment.