qfetch
    Preparing search index...

    A strategy for retrying an operation.

    interface BackoffStrategy {
        nextBackoff: () => number;
        resetBackoff: () => void;
    }
    Index

    Properties

    nextBackoff: () => number

    Calculate the next backoff delay in milliseconds. NaN means that no further retries should be made.

    Type Declaration

      • (): number
      • Returns number

        Backoff delay in milliseconds, or NaN to stop retrying

    resetBackoff: () => void

    Reset to the initial state.