Contents

retryProgressTokenNow#

Retry a long-running request now instead of waiting for its scheduled retry delay.

Request:

The request args must be a RetryProgressTokenNowRequest object.

Response:

On success, the result is an empty object.

Side effects:

Abandons the remaining exponential-backoff delay of the pending request; the request may restart immediately, causing network activity.

Details:

Long-running operations accept an optional progressToken in their request. While such a request keeps failing, wallet-core retries it with exponential backoff and reports each failed attempt via a request-progress-error notification, including the delay until the next retry. This operation abandons the remaining delay, so that the next attempt starts immediately. If the progress token is unknown or the request has no retry logic, the operation has no effect.

interface RetryProgressTokenNowRequest {
  // Name of the operation that the progress token belongs to.
  operation: string;

  // Client-chosen progress token passed to the original request.
  progressToken: string;
}