module.exports = "(function(n,r,t){var o=t(5894),i=t(4727).Promise,u=t(7152);r.pollFor=function(n,r,t){var e,c;return o.isFunction(t)?c=t:(e=t||100,c=function(){return--e<-1}),r=r||50,new i((function(t,o){!function i(){var e;if(!c()){try{var f=n();if(f)return t(f)}catch(n){e=n}return u.setTimeout(i,r)}o(e||new Error(\"Poll timed out\"))}()}))}})";