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
Hi, thanks for the module, it's very well done and full-featured. May I recommend documenting how to create multiple instances for multiple resources within a single injection? E.g.:
var myPoller1 = new poller.get(myResource1);
var myPoller2 = new poller.get(myResource2);
Then poller.stopAll() would make more sense and one can use $q.all() and map the responses.
The text was updated successfully, but these errors were encountered:
Hi Ray, thank you for your feedback! I have updated the document based on your suggestion.
Unfortunately you can not use $q.all with multiple pollers since Angular does not support notification forwarding for $q.all yet: angular/angular.js#2223 (comment).
Hi, thanks for the module, it's very well done and full-featured. May I recommend documenting how to create multiple instances for multiple resources within a single injection? E.g.:
Then poller.stopAll() would make more sense and one can use $q.all() and map the responses.
The text was updated successfully, but these errors were encountered: