Skip to content

@statesync/core


@statesync/core / RetryPolicy

Interface: RetryPolicy

Defined in: retry.ts:3

Properties

backoffMultiplier?

ts
optional backoffMultiplier: number;

Defined in: retry.ts:9

Exponential backoff multiplier. Default: 2


initialDelayMs?

ts
optional initialDelayMs: number;

Defined in: retry.ts:7

Initial delay in ms. Default: 500


maxAttempts?

ts
optional maxAttempts: number;

Defined in: retry.ts:5

Max attempts (including the first try). Default: 3


maxDelayMs?

ts
optional maxDelayMs: number;

Defined in: retry.ts:11

Max delay in ms. Default: 10000

Released under the MIT License.