ixfx
    Preparing search index...

    Type Alias RetryResult<V>

    RetryResult: {
        attempts: number;
        elapsed: number;
        message?: string;
        success: boolean;
        value: V | undefined;
    }

    Result of backoff

    Type Parameters

    • V

    Type declaration

    • Readonlyattempts: number

      Number of times callback was attempted

    • Readonlyelapsed: number

      Total elapsed time since beginning of call to retry

    • Optional Readonlymessage?: string

      Message describing outcome.

      If retry was aborted, message will be abort reason.

    • Readonlysuccess: boolean

      True if callback function was invoked once where it returned true

    • Readonlyvalue: V | undefined

      Value returned by succeeding function, or undefined if it failed