You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Promote WithPrevious and NopReceiver out of experimental #577
WithPrevious (experimental since v1.4.0) and NopReceiver (since v1.9.0) are used by our own projects and haven't changed in a while, so they are ready to leave experimental.
Proposed solution
Move both to the top-level frequenz.channels package, next to merge(), select() and LatestValueCache. They are small, generic channel utilities without extra types or dependencies of their own, unlike the receivers that have their own modules (event, file_watcher, timer).
Keep the old frequenz.channels.experimental names as deprecated aliases, made with frequenz.core.warnings.deprecated_aliases() (since="v1.13.0"). They stay the very same objects, so isinstance() works through both paths.
Point OptionalReceiver's deprecation message to the new frequenz.channels.NopReceiver.
Add both to the user guide, and test that the old names warn and the new ones don't, as the deprecations guide asks.
Activity
Promote `NopReceiver` and `WithPrevious` out of `experimental` (frequ…