angular-poller
angular-poller copied to clipboard
requestAnimationFrame ($$rAF) backend
Would be nice to optionally support a requestAnimationFrame backend. requestAnimationFrame has the advantage of being lighter on resource usage on out of focus tabs at the cost of longer timeout. I can give it a try implementing that but i am really an angular novice. See: https://github.com/angular/angular.js/issues/6148#issuecomment-37900337
I've given it a stab but it's not working properly, the function is called too often and hang the tab: https://github.com/xrmx/angular-poller/tree/raf