frequenz-floss / frequenz-channels-python

Channel implementations for Python
https://frequenz-floss.github.io/frequenz-channels-python/
MIT License
7 stars 8 forks source link

Rename "value" to "message" and other minor breaking changes #281

Closed llucax closed 7 months ago

llucax commented 7 months ago

This PR replaces the term "value" with "message" as "value" is too generic and used in many other contexts.

It also makes Selected.was_stopped a property and make some function taking only one obvious argument positional-only, to avoid having the argument name being part of the interface (we actually renamed those arguments too, but that's not included in the release notes as they are not part of the public API any more anyways).

We also do some other minor internal renaming and changing of arguments to positional-or-keyword-only.

llucax commented 7 months ago

Based on #279.