Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTimeout(function () {
var options = extend(request.toOptions(), {
use: request.middleware.slice(request.middleware.indexOf(retry))
});
return resolve(new popsicle_1.Request(options));
}, delay);
});