File Explorer

/var/lang/lib/node_modules/npm/node_modules/exponential-backoff/dist/delay

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

delay.factory.js613 B · 17 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });var skip_first_delay_1 = require("./skip-first/skip-first.delay");var always_delay_1 = require("./always/always.delay");function DelayFactory(options, attempt) {    var delay = initDelayClass(options);    delay.setAttemptNumber(attempt);    return delay;}exports.DelayFactory = DelayFactory;function initDelayClass(options) {    if (!options.delayFirstAttempt) {        return new skip_first_delay_1.SkipFirstDelay(options);    }    return new always_delay_1.AlwaysDelay(options);}//# sourceMappingURL=delay.factory.js.map