-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add server poll #53
Add server poll #53
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
==========================================
- Coverage 71.52% 71.01% -0.51%
==========================================
Files 13 13
Lines 1366 1380 +14
==========================================
+ Hits 977 980 +3
- Misses 389 400 +11 ☔ View full report in Codecov by Sentry. |
* More docs * Easier to use, hopefully * Rename "poll" to "get_event_update" since there were confusion with the other "poll" that asks the server to poll the source of a specific event for updates.
Ask the server to check for updates for a specific event.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested both poll and refresh (ntie) in Howitz. Both work! Refresh functionality that comes with this PR is very useful and effective 🙌
Quality Gate passedIssues Measures |
Old code used the term
poll
in two different ways:No. 1 was not implemented in the zino1 manager and got to keep its name. No. 2 was renamed to "get_event_update" (it only gets one update at a time, if any are available.)
Two bonuses: the UpdateHandler is better documented and there is now only one way to remove an event from the events list.