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

Debounce change events #117

Merged
merged 1 commit into from
Mar 21, 2025
Merged

Debounce change events #117

merged 1 commit into from
Mar 21, 2025

Conversation

andrewsayre
Copy link
Owner

Description:

Some devices may send multiple events of the same type in a short time span AND may not be fully ready to respond when they are issued. This ensures that EVENT_SOURCES_CHANGED, EVENT_PLAYERS_CHANGED, EVENT_GROUPS_CHANGED, EVENT_USER_CHANGED are debounced with a 1 sec delay.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • Tests have been added/updated. No exclusions in .coveragerc permitted.
  • README.MD updated (if necessary)

@andrewsayre andrewsayre merged commit fd400d0 into dev Mar 21, 2025
5 checks passed
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7715efc) to head (0111048).
Report is 2 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #117   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        24           
  Lines         2141      2158   +17     
=========================================
+ Hits          2141      2158   +17     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrewsayre andrewsayre deleted the debounce_events branch March 21, 2025 21:12
@andrewsayre andrewsayre mentioned this pull request Mar 21, 2025
5 tasks
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