TransferRetryPolicy
Defined in: src/transfers/TransferEngine.ts:57
Retry policy for transfer execution.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
maxAttempts? | number | Maximum total attempts, including the first attempt. Defaults to 1. | src/transfers/TransferEngine.ts:59 |
Methods
Section titled “Methods”onRetry()?
Section titled “onRetry()?”optional onRetry(input: TransferRetryDecisionInput): void;Defined in: src/transfers/TransferEngine.ts:63
Observes retry decisions before the next attempt starts.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | TransferRetryDecisionInput |
Returns
Section titled “Returns”void
shouldRetry()?
Section titled “shouldRetry()?”optional shouldRetry(input: TransferRetryDecisionInput): boolean;Defined in: src/transfers/TransferEngine.ts:61
Decides whether a failed attempt should be retried. Defaults to SDK retryability metadata.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | TransferRetryDecisionInput |
Returns
Section titled “Returns”boolean