1 line
32 KiB
JSON
1 line
32 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/retry.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/retry.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/retry.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/retry.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/retry.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.retry = retry;\n\nvar tslib_1 = _interopRequireWildcard(require(\"tslib\"));\n\nvar _Subscriber = require(\"../Subscriber\");\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }\n\n/** PURE_IMPORTS_START tslib,_Subscriber PURE_IMPORTS_END */\nfunction retry(count) {\n if (count === void 0) {\n count = -1;\n }\n\n return function (source) {\n return source.lift(new RetryOperator(count, source));\n };\n}\n\nvar RetryOperator =\n/*@__PURE__*/\nfunction () {\n function RetryOperator(count, source) {\n this.count = count;\n this.source = source;\n }\n\n RetryOperator.prototype.call = function (subscriber, source) {\n return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));\n };\n\n return RetryOperator;\n}();\n\nvar RetrySubscriber =\n/*@__PURE__*/\nfunction (_super) {\n tslib_1.__extends(RetrySubscriber, _super);\n\n function RetrySubscriber(destination, count, source) {\n var _this = _super.call(this, destination) || this;\n\n _this.count = count;\n _this.source = source;\n return _this;\n }\n\n RetrySubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var _a = this,\n source = _a.source,\n count = _a.count;\n\n if (count === 0) {\n return _super.prototype.error.call(this, err);\n } else if (count > -1) {\n this.count = count - 1;\n }\n\n source.subscribe(this._unsubscribeAndRecycle());\n }\n };\n\n return RetrySubscriber;\n}(_Subscriber.Subscriber);","map":{"mappings":[{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":8,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":23,"column":0},"generated":{"line":10,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":15,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":15,"column":14}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":15,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":15,"column":20}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":23,"column":25},"generated":{"line":15,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":16,"column":6}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":24,"column":9},"generated":{"line":16,"column":11}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":24,"column":9},"generated":{"line":16,"column":16}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":24,"column":10},"generated":{"line":16,"column":21}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":16,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":24,"column":10},"generated":{"line":16,"column":24}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":25,"column":1},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":25,"column":1},"generated":{"line":17,"column":4}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":25,"column":1},"generated":{"line":17,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":25,"column":1},"generated":{"line":17,"column":12}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":25,"column":1},"generated":{"line":17,"column":13}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":25,"column":1},"generated":{"line":17,"column":14}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":27,"column":0},"generated":{"line":18,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":2},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":2},"generated":{"line":20,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":2},"generated":{"line":20,"column":19}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":2},"generated":{"line":20,"column":25}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":22},"generated":{"line":20,"column":27}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":22},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":22},"generated":{"line":21,"column":11}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":17}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":22},"generated":{"line":21,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":23}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":27}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":40}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":41}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":46}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":48}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":21,"column":54}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":22},"generated":{"line":21,"column":55}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":22},"generated":{"line":21,"column":56}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":22,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":28,"column":2},"generated":{"line":22,"column":3}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":22},"generated":{"line":25,"column":17}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":28},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":27,"column":12}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":2},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":11}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":2},"generated":{"line":28,"column":24}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":25}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":2},"generated":{"line":28,"column":30}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":32}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":2},"generated":{"line":28,"column":38}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":30,"column":3},"generated":{"line":28,"column":40}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":32,"column":2},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":32,"column":2},"generated":{"line":29,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":32,"column":2},"generated":{"line":29,"column":14}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":32,"column":2},"generated":{"line":29,"column":17}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":32,"column":2},"generated":{"line":29,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":33,"column":4},"generated":{"line":30,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":33,"column":4},"generated":{"line":30,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":33,"column":4},"generated":{"line":30,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":33,"column":18},"generated":{"line":30,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":33,"column":4},"generated":{"line":30,"column":24}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":34,"column":3},"generated":{"line":31,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":33,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":33,"column":2}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":33,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":33,"column":16}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":33,"column":25}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":33,"column":26}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":33,"column":30}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":33,"column":33}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":33,"column":43}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":33,"column":53}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":33,"column":55}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":33,"column":61}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":33,"column":63}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":11}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":17}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":27}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":28}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":32}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":47}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":48}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":58}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":60}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":65}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":70}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":72}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":77}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":83}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":84}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":1},"generated":{"line":34,"column":85}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":42,"column":0},"generated":{"line":35,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":35,"column":0},"generated":{"line":35,"column":3}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":42,"column":33},"generated":{"line":37,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":42,"column":33},"generated":{"line":37,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":42,"column":33},"generated":{"line":37,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":29,"column":43},"generated":{"line":38,"column":1}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":43,"column":2},"generated":{"line":40,"column":19}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":41,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":42,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":46,"column":10},"generated":{"line":42,"column":10}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":42,"column":16}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":46,"column":22},"generated":{"line":42,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":44,"column":22},"generated":{"line":43,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":44,"column":22},"generated":{"line":43,"column":10}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":44,"column":22},"generated":{"line":43,"column":20}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":44,"column":35},"generated":{"line":43,"column":37}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":45,"column":22},"generated":{"line":45,"column":11}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":45,"column":28},"generated":{"line":45,"column":27}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":45,"column":43},"generated":{"line":45,"column":40}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":45,"column":43},"generated":{"line":45,"column":47}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":45,"column":43},"generated":{"line":45,"column":55}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":47,"column":3},"generated":{"line":48,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":47,"column":3},"generated":{"line":48,"column":4}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":47,"column":3},"generated":{"line":48,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":47,"column":3},"generated":{"line":48,"column":10}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":47,"column":3},"generated":{"line":48,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":47,"column":3},"generated":{"line":48,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":47,"column":3},"generated":{"line":48,"column":23}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":49,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":49,"column":4}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":49,"column":9}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":49,"column":10}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":49,"column":16}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":49,"column":19}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":48,"column":2},"generated":{"line":49,"column":25}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":50,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":49,"column":9},"generated":{"line":50,"column":11}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":49,"column":4},"generated":{"line":50,"column":16}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":51,"column":10},"generated":{"line":53,"column":17}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":51,"column":10},"generated":{"line":53,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":51,"column":23},"generated":{"line":53,"column":28}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":51,"column":23},"generated":{"line":53,"column":36}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":51,"column":23},"generated":{"line":53,"column":46}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":51,"column":23},"generated":{"line":53,"column":49}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":51,"column":23},"generated":{"line":53,"column":51}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":52,"column":8},"generated":{"line":54,"column":14}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":52,"column":15},"generated":{"line":54,"column":25}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":55,"column":10}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":55,"column":12}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":55,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":56,"column":10}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":56,"column":16}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":56,"column":19}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":56,"column":21}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":56,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":57,"column":10}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":57,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":57,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":57,"column":20}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":7},"generated":{"line":57,"column":21}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":17},"generated":{"line":59,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":22},"generated":{"line":59,"column":20}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":53,"column":25},"generated":{"line":59,"column":23}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":8},"generated":{"line":60,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":13},"generated":{"line":60,"column":15}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":21},"generated":{"line":60,"column":21}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":21},"generated":{"line":60,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":13},"generated":{"line":60,"column":31}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":31},"generated":{"line":60,"column":32}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":13},"generated":{"line":60,"column":37}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":31},"generated":{"line":60,"column":38}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":13},"generated":{"line":60,"column":42}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":31},"generated":{"line":60,"column":43}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":13},"generated":{"line":60,"column":47}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":31},"generated":{"line":60,"column":49}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":13},"generated":{"line":60,"column":52}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":54,"column":8},"generated":{"line":60,"column":53}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":55,"column":7},"generated":{"line":61,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":56,"column":6},"generated":{"line":61,"column":13}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":56,"column":13},"generated":{"line":61,"column":17}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":56,"column":13},"generated":{"line":61,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":56,"column":23},"generated":{"line":61,"column":25}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":56,"column":23},"generated":{"line":61,"column":26}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":56,"column":6},"generated":{"line":61,"column":27}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":56,"column":27},"generated":{"line":61,"column":29}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":62,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":62,"column":13}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":62,"column":18}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":62,"column":21}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":62,"column":26}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":62,"column":29}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":57,"column":5},"generated":{"line":62,"column":30}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":58,"column":3},"generated":{"line":63,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":65,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":65,"column":6}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":65,"column":12}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":65,"column":13}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":65,"column":22}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":65,"column":23}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":65,"column":28}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":1},"generated":{"line":65,"column":50}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":59,"column":0},"generated":{"line":65,"column":52}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":42,"column":33},"generated":{"line":66,"column":0}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":70,"column":1}},{"source":"../../../src/internal/operators/retry.ts","name":null,"original":{"line":46,"column":4},"generated":{"line":70,"column":24}}],"sources":{"../../../src/internal/operators/retry.ts":"import { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { Observable } from '../Observable';\n\nimport { MonoTypeOperatorFunction, TeardownLogic } from '../types';\n\n/**\n * Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable\n * calls `error`, this method will resubscribe to the source Observable for a maximum of `count` resubscriptions (given\n * as a number parameter) rather than propagating the `error` call.\n *\n * ![](retry.png)\n *\n * Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted\n * during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second\n * time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications\n * would be: [1, 2, 1, 2, 3, 4, 5, `complete`].\n * @param {number} count - Number of retry attempts before failing.\n * @return {Observable} The source Observable modified with the retry logic.\n * @method retry\n * @owner Observable\n */\nexport function retry<T>(count: number = -1): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new RetryOperator(count, source));\n}\n\nclass RetryOperator<T> implements Operator<T, T> {\n constructor(private count: number,\n private source: Observable<T>) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass RetrySubscriber<T> extends Subscriber<T> {\n constructor(destination: Subscriber<any>,\n private count: number,\n private source: Observable<T>) {\n super(destination);\n }\n error(err: any) {\n if (!this.isStopped) {\n const { source, count } = this;\n if (count === 0) {\n return super.error(err);\n } else if (count > -1) {\n this.count = count - 1;\n }\n source.subscribe(this._unsubscribeAndRecycle());\n }\n }\n}\n"},"lineCount":null}},"hash":"16565d11b96c46362ec24e1607f564bc","cacheData":{"env":{}}} |