Rx.Observable.prototype.retry([retryCount])

Projects each element of an observable sequence into a new form by incorporating the element's index. This is an alias for the select method.

Arguments

  1. [retryCount] (Number): 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.

Example