@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 405 B
JavaScript
import{a as t}from"./chunk-NJVX7KSK.js";import{j as n,m as l}from"./chunk-HBP5N4FR.js";l();var u=(r,e,a,y=0)=>n(void 0,null,function*(){try{return yield r(...a)}catch(c){return y<e.retries?((e==null?void 0:e.delay)!=null&&(yield t(e.delay)),u(r,e,a,y+1)):null}}),f=(r,e={retries:5,delay:500})=>(...a)=>n(void 0,null,function*(){return u(r,e,a)});export{f as a};
//# sourceMappingURL=chunk-MRGB5FAN.js.map