This project has been succeeded by GraphReFly. New development happens at graphrefly-ts. npm install @graphrefly/graphrefly
Skip to content

retry() ​

Re-subscribes to the input store after errors, with optional count limit and backoff.

Signature ​

ts
function retry<A>(config: number | RetryOptions): StoreOperator<A, A>

Parameters ​

ParameterTypeDescription
config`numberRetryOptions`

RetryOptions ​

PropertyTypeDefaultDescription
countnumbervariesMax retries; with delay, default is unbounded unless set.
delayBackoffStrategyundefinedMilliseconds between attempts; null from strategy stops.
while(err) =&gt; booleanundefinedRetry only when predicate holds.

Returns ​

StoreOperator&lt;A, A&gt; — Tier 2; clean completion ends retries.

See Also ​

Released under the MIT License.