Skip to content

Move all notification logic to subscription_manager #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

AnotherDaniel
Copy link
Contributor

In preparation for implementing timed subscription expiry, this PR moves all subscription change notification logic to one place (subscription_manager). Doing this also fixes a functional gap where state-changes of remote subscriptions (e.g. from SUBSCRIBE_PENDING to SUBSCRIBED) haven't resulted in notifications at all.

@AnotherDaniel AnotherDaniel self-assigned this May 20, 2025
@AnotherDaniel AnotherDaniel requested a review from sophokles73 May 20, 2025 07:01
@AnotherDaniel AnotherDaniel added the enhancement New feature or request label May 20, 2025
Copy link

@sophokles73 sophokles73 left a comment

Choose a reason for hiding this comment

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

LGTM

@AnotherDaniel AnotherDaniel merged commit 41cd68a into eclipse-uprotocol:main May 21, 2025
11 checks passed
@AnotherDaniel AnotherDaniel deleted the subscription_expiry branch May 21, 2025 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants