Compute the retry delay (milliseconds) for a given attempt number.
Exported to keep the retry math verifiable without spinning up an HTTP stub.
Optional
Compute the retry delay (milliseconds) for a given attempt number.
Exported to keep the retry math verifiable without spinning up an HTTP stub.