Sets exponential backoff strategy.
Delay sequence grows as initial, 2*initial, 4*initial, ... and is capped by max.
| initial |
initial delay. |
| max |
maximum delay cap. |
|
Result.ok(this retry instance), or Result.error(RetryError.INVALID_ARGUMENT) when initial/max are invalid. |