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.
take_while
1 parent f46c9b3 commit d3f8eb7Copy full SHA for d3f8eb7
src/frequenz/channels/_receiver.py
@@ -76,6 +76,10 @@
76
[`take_while()`][frequenz.channels.Receiver.take_while] returns a new full receiver, so
77
you can use it in any of the ways described above.
78
79
+[`take_while()`][frequenz.channels.Receiver.take_while] can even receive a
80
+[type guard][typing.TypeGuard] as the predicate to narrow the type of the received
81
+messages.
82
+
83
# Error Handling
84
85
!!! Tip inline end
0 commit comments