Searched refs:RetryOperation (Results 1 – 5 of 5) sorted by relevance
1 function RetryOperation(timeouts, options) { class23 module.exports = RetryOperation;25 RetryOperation.prototype.reset = function() {30 RetryOperation.prototype.stop = function() {39 RetryOperation.prototype.retry = function(err) {91 RetryOperation.prototype.attempt = function(fn, timeoutOps) {115 RetryOperation.prototype.try = function(fn) {120 RetryOperation.prototype.start = function(fn) {125 RetryOperation.prototype.start = RetryOperation.prototype.try;127 RetryOperation.prototype.errors = function() {[all …]
1 var RetryOperation = require('./retry_operation'); variable5 return new RetryOperation(timeouts, {
1 function RetryOperation(timeouts, options) { class20 module.exports = RetryOperation;22 RetryOperation.prototype.stop = function() {31 RetryOperation.prototype.retry = function(err) {78 RetryOperation.prototype.attempt = function(fn, timeoutOps) {100 RetryOperation.prototype.try = function(fn) {105 RetryOperation.prototype.start = function(fn) {110 RetryOperation.prototype.start = RetryOperation.prototype.try;112 RetryOperation.prototype.errors = function() {116 RetryOperation.prototype.attempts = function() {[all …]
60 Creates a new `RetryOperation` object. `options` is the same as `retry.timeouts()`'s `options`, wit…131 ### new RetryOperation(timeouts, [options])133 Creates a new `RetryOperation` where `timeouts` is an array where each value is141 * `RetryOperation.errors()` will only output an array of one item: the last error.142 * `RetryOperation` will repeatedly use the `timeouts` array. Once all of its timeouts have been use…