{ signal?: AbortSignal } as its second argument.
Cancel after a deadline
Node.js 22 supportsAbortSignal.timeout().
A caller abort becomes
ProClubsAbortError with code ABORTED. It is never
retried. The same signal also interrupts an exponential backoff or
Retry-After delay between attempts.timeoutMs and an external AbortSignal solve different problems:
timeoutMsconfigures the built-in transport’s request timeout;AbortSignallets the caller cancel the complete SDK operation, including retry delays.