@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Interface LazyBackendOptions

    interface LazyBackendOptions {
        clearAll?: boolean;
        legacyRetentionGraceSeconds?: number;
    }
    Index
    clearAll?: boolean

    Expose clearAll() on the wrapper. Keep this disabled for production backends that intentionally omit clearAll() (for example Redis on a shared instance), because createIdempotencyStore() uses method presence as the reset-safety contract.

    legacyRetentionGraceSeconds?: number

    Minimum legacy-record retention grace promised by the eventual backend. Declare this for lazy PostgreSQL backends so unsafe skew is rejected at store construction, before the asynchronous factory runs.