Skip to content

v1.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Nov 13:36
· 42 commits to v1.x.x since this release
v1.3.0
b3c98e5

Frequenz channels Release Notes

New Features

  • There is a new Receiver.triggered method that can be used instead of selected_from:

    async for selected in select(recv1, recv2):
        if recv1.triggered(selected):
            print('Received from recv1:', selected.message)
        if recv2.triggered(selected):
            print('Received from recv2:', selected.message)
  • Receiver.filter() can now properly handle TypeGuards. The resulting receiver will now have the narrowed type when a TypeGuard is used.

Bug Fixes

  • Fixed a memory leak in the timer.

What's Changed

Full Changelog: v1.2.0...v1.3.0