• fallback to retry

    Type Parameters

    Parameters

    • runner: T

      async function, return promise

    • maxRetryNumber: number = 3

      the maximum number of times a runner should retry, default is 3

    • OptionalretryAfterMSecond: number

      the wait milliseconds before retry

    Returns T

    5.15.0