iya-sts
    Preparing search index...

    Variable pushSetWithRetries

    pushSetWithRetries: (
        url: unknown,
        token: unknown,
        options?: PushOptions,
    ) => Promise<PushResult> = ...

    Type Declaration

      • (url: unknown, token: unknown, options?: PushOptions): Promise<PushResult>
      • Pushes one SET, retrying a failure that could go differently (no connection, a timeout, a 5xx or a 429) up to ssf.pushRetries times with a linear delay of ssf.pushRetryDelayMs.

        Parameters

        • url: unknown

          the endpoint

        • token: unknown

          the signed SET

        • Optionaloptions: PushOptions

          as pushSet() takes them

        Returns Promise<PushResult>

        a promise of the last result, with every attempt in attempts