Maximum number of attempts (at least 1).
Backoff delays in milliseconds between attempts.
The operation; null means "failed, retry if attempts remain".
Receives the 0-based attempt index.
The first non-null value, or null when every attempt failed.
Runs
fnup toattemptstimes, sleeping between attempts, until it yields a non-null value.The delay before retry N (1-based) is
delaysMs[N-1], with the last entry reused when attempts outnumber delays; no sleep precedes the first attempt.