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

Add LiveQueue method to enable ignoring of paused effects entirely #170

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

milchopenchev
Copy link
Contributor

This adds another way to set observers on a LiveQueue such that all paused (aka background) effects are completely ignored.

The main reason for this was a use case encountered where the developers do not care to listen to background effects (no paused listener was set) - but a crash was still happening due to the background queue size potentially exceeding the set limit.

This PR provides a way to completely ignore background effects without ever having to worry about the queue size exceeding size limits, while preserving all previous behavior.

@togi togi merged commit fb556b2 into spotify:master Dec 6, 2023
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.

None yet

3 participants