Sha256: 363616c0a02e30f0b6781be497a324b652a4cf475041db2534398b5620a48100
Contents?: true
Size: 762 Bytes
Versions: 14
Compression:
Stored size: 762 Bytes
Contents
/** * Repeats the source observable sequence the specified number of times or until it successfully terminates. If the retry count is not specified, it retries indefinitely. * Note if you encounter an error and want it to retry once, then you must use .retry(2); * * @example * var res = retried = retry.repeat(); * var res = retried = retry.repeat(2); * @param {Number} [retryCount] Number of times to retry the sequence. If not provided, retry the sequence indefinitely. * @returns {Observable} An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully. */ observableProto.retry = function (retryCount) { return enumerableRepeat(this, retryCount).catchError(); };
Version data entries
14 entries across 7 versions & 1 rubygems