Skip to content
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

Feat: Simpler callbacks handling for live query updates #1

Merged
merged 3 commits into from
Nov 11, 2023

Conversation

mindreframer
Copy link
Member

No description provided.

Problem: 
- current :telemetry inspired way to handle live query callbacks makes handling reconnections much harder, than it should be
- also we have quite some modules just for this feature

Solution: 
- just store the callback function directly in SocketState struct
- reconnection becomes much simpler, since all the info is directly there, and we also do not have to deal with garbage cleanup on process termination in a manual way
@mindreframer mindreframer merged commit 5eacd5b into main Nov 11, 2023
1 check passed
@mindreframer mindreframer deleted the simpler_callbacks branch November 11, 2023 09:42
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.

1 participant