Dex TypeScript SDK 1.29.0
    Preparing search index...

    Function retryAfter

    • Creates a retry request while preserving the current attempt failure.

      Parameters

      • afterSeconds: number

        Positive whole-second delay before the next attempt.

      • cause: Error

        Current Step method failure reported to Dex.

      Returns RetryAfterError

      An error to throw from the Step method.