UNPKG

@embrace-io/web-sdk

Version:
3 lines (2 loc) 290 B
import{__spreadArray as t,__read as o}from"tslib";var r=function(r,n){var i=!1;return function(){for(var e=[],f=0;f<arguments.length;f++)e[f]=arguments[f];i||(r.apply(void 0,t([],o(e),!1)),setTimeout((function(){i=!1}),n),i=!0)}};export{r as throttle}; //# sourceMappingURL=throttle.js.map