ReadonlyattemptAttempt number, starting at 1.
ReadonlysignalThe signal for this attempt.
Aborts when RetryOptions.signal aborts, when this attempt's own RetryOptions.timeoutMs elapses, or when another attempt supersedes it. This per-attempt lifetime prevents cooperative work from continuing under the identity of an attempt that the retry loop has already left.
Cooperative: it only has an effect on work that reads it.
Per-attempt context handed to the retried function.