Prometheus Entity Management API
    Preparing search index...

    Retry-with-backoff policy for replaying pending offline actions.

    The replay loop tracks per-action attempt counts. After maxAttempts failed attempts the action is considered "poisoned" — it is removed from the in-memory pending queue (so it won't block other actions) and the optional poisonHandler is invoked. Consumers typically log the action, surface a UI prompt, or persist it to a dead-letter store.

    Defaults: 5 attempts, starting at 500ms, doubling up to 30s, with "equal" jitter (random in [delay/2, delay]).

    interface ReplayRetryPolicy {
        backoffFactor?: number;
        initialDelayMs?: number;
        jitter?: "none" | "equal" | "full";
        maxAttempts?: number;
        maxDelayMs?: number;
        poisonHandler?: (
            action: GraphActionRecord,
            error: unknown,
        ) => void | Promise<void>;
    }
    Index
    backoffFactor?: number
    initialDelayMs?: number
    jitter?: "none" | "equal" | "full"
    maxAttempts?: number
    maxDelayMs?: number
    poisonHandler?: (
        action: GraphActionRecord,
        error: unknown,
    ) => void | Promise<void>