Skip to content

Commit f1ac22d

Browse files
committed
Deprecate Anycast channels
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
1 parent 1ccb5e2 commit f1ac22d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/frequenz/channels/_anycast.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
_logger = logging.getLogger(__name__)
2121

2222

23+
@deprecated(
24+
"Anycast channels are deprecated, because of the high cost of maintaining "
25+
"something for which we don't have a use case. The implementation will "
26+
"remain in the codebase in its current form at least until the next major "
27+
"version."
28+
)
2329
class Anycast(Generic[ChannelMessageT]):
2430
"""A channel that delivers each message to exactly one receiver.
2531

0 commit comments

Comments
 (0)