nestjs-backend-common
    Preparing search index...

    Type Alias RetryStatus

    Retry-status object type, for use with RetryCB.

    type RetryStatus = {
        duration: number;
        error?: unknown;
        index: number;
    }
    Index

    Properties

    Properties

    duration: number

    Retry overall duration, in milliseconds.

    error?: unknown

    Last error, if available; it is undefined only when "retryAsync" calls "func" with index = 0.

    index: number

    Retry index, starting from 0.