RetryOut<T>: [Error, null] | [null, T]

Type representing the output of the retry function. The result is a tuple that includes either an error or a value, and the duration in milliseconds.

Type Parameters

  • T

    The type of the resolved value of the promise.