You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, I'm using 'ember-pollboy' to poll every 5 seconds for songs in my library, and I use those songs in a 'multi-select' component. But when I have the multi-select dropdown open, the polling service still runs and thus causes my multi-select component to go into a loading state momentarily when the polling happens.
Perhaps there should be an API to call something like this.get('songsPoller').pause() and .resume(). That way I can pause polling when the dropdown is open, and resume it once it's closed.
The text was updated successfully, but these errors were encountered:
For instance, I'm using 'ember-pollboy' to poll every 5 seconds for songs in my library, and I use those songs in a 'multi-select' component. But when I have the multi-select dropdown open, the polling service still runs and thus causes my multi-select component to go into a loading state momentarily when the polling happens.
Perhaps there should be an API to call something like
this.get('songsPoller').pause()
and.resume()
. That way I can pause polling when the dropdown is open, and resume it once it's closed.The text was updated successfully, but these errors were encountered: