RetryOptions | baconjs (original) (raw)

Type parameters

Hierarchy

Index

Properties

Optional retries

retries: undefined | number

Required. The number of times to retry the source function in addition to the initial attempt. The default value is 0 (zero) for retrying indefinitely.

source

source: (attemptNumber: number) => Observable<V>

Required. A function that produces an Observable. The function gets attempt number (starting from zero) as its argument.

Type declaration

Methods

Optional delay

Parameters

Returns number

Optional isRetryable

Parameters

Returns boolean