UNPKG

wretch

Version:

A tiny wrapper built around fetch with an intuitive syntax.

2 lines 390 B
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports):typeof define==`function`&&define.amd?define([`exports`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.wretchDelayMiddleware={}))})(this,function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.delay=e=>t=>(n,r)=>new Promise(i=>setTimeout(()=>i(t(n,r)),e))}); //# sourceMappingURL=delay.min.js.map