Browse documentation

BackoffConfig

Type. Offline retry timing options.

Table of contents

Category

Type

Type import

ts
import type { BackoffConfig } from "valyrian.js/offline";

Public signature

ts
type BackoffConfig = { strategy?: RetryStrategy; baseMs?: number; maxMs?: number; };

Type usage

BackoffConfig controls retry timing.

Defaults

Defaults are strategy exponential, baseMs 1000 and maxMs 30000.