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.
The type of the resolved value of the promise.
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.