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

fix: remove onDisconnect callback from flux subscription #2766

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

krissvaa
Copy link
Contributor

@krissvaa krissvaa commented Sep 26, 2024

Remove onDisconnect callback as for #2737 and later introduce the onConnectionStateChange callback.

Fixes: #398 and #2769

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.29%. Comparing base (3112382) to head (8b5db9f).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2766      +/-   ##
==========================================
- Coverage   92.30%   92.29%   -0.02%     
==========================================
  Files          81       81              
  Lines        2678     2673       -5     
  Branches      683      683              
==========================================
- Hits         2472     2467       -5     
  Misses        156      156              
  Partials       50       50              
Flag Coverage Δ
unittests 92.29% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@krissvaa krissvaa force-pushed the fix/remove-ondisconnect branch 3 times, most recently from c080c27 to ee664c5 Compare September 26, 2024 14:05
Copy link

sonarcloud bot commented Sep 30, 2024

@krissvaa krissvaa merged commit ba17077 into main Sep 30, 2024
15 checks passed
@krissvaa krissvaa deleted the fix/remove-ondisconnect branch September 30, 2024 10:24
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Hilla 24.5.0.beta5 and is also targeting the upcoming stable 24.5.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[push] There is no API for handling reconnect / resubscribe
3 participants