Skip to content

Feature: exchange_channel#190

Merged
liss-h merged 6 commits into
developfrom
feature/watch
Jun 10, 2026
Merged

Feature: exchange_channel#190
liss-h merged 6 commits into
developfrom
feature/watch

Conversation

@liss-h

@liss-h liss-h commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Implementation of something similar to tokio::sync::watch, i.e. a channel that only retains the most recently sent value.

Interface adjusted to C++ and the values are consumed by readers instead of staying visible.

@bigerl bigerl self-requested a review June 9, 2026 23:20

@bigerl bigerl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for the PR. Please find my review comments below. Please also add a short description to the readme and an example.

Comment thread include/dice/template-library/exchange_channel.hpp
Comment thread include/dice/template-library/watch.hpp Outdated
Comment thread include/dice/template-library/watch.hpp Outdated
Comment thread include/dice/template-library/watch.hpp Outdated
Comment thread include/dice/template-library/exchange_channel.hpp
Comment thread tests/tests_watch.cpp Outdated
Comment thread include/dice/template-library/watch.hpp Outdated
Comment thread include/dice/template-library/watch.hpp Outdated
@liss-h liss-h changed the title Feature: watch Feature: exchange_channel Jun 10, 2026
@liss-h liss-h requested a review from bigerl June 10, 2026 07:24
@liss-h liss-h merged commit 2989f4a into develop Jun 10, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants