Permalink
Cannot retrieve contributors at this time
37 lines (37 sloc)
1.66 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpOperationResponse } from "../httpOperationResponse"; | |
import { WebResourceLike } from "../webResource"; | |
import { BaseRequestPolicy, RequestPolicy, RequestPolicyFactory, RequestPolicyOptionsLike } from "./requestPolicy"; | |
export interface RetryData { | |
retryCount: number; | |
retryInterval: number; | |
error?: RetryError; | |
} | |
export interface RetryError extends Error { | |
message: string; | |
code?: string; | |
innerError?: RetryError; | |
} | |
export declare function systemErrorRetryPolicy(retryCount?: number, retryInterval?: number, minRetryInterval?: number, maxRetryInterval?: number): RequestPolicyFactory; | |
/** | |
* @class | |
* Instantiates a new "ExponentialRetryPolicyFilter" instance. | |
* | |
* @constructor | |
* @param {number} retryCount The client retry count. | |
* @param {number} retryInterval The client retry interval, in milliseconds. | |
* @param {number} minRetryInterval The minimum retry interval, in milliseconds. | |
* @param {number} maxRetryInterval The maximum retry interval, in milliseconds. | |
*/ | |
export declare class SystemErrorRetryPolicy extends BaseRequestPolicy { | |
retryCount: number; | |
retryInterval: number; | |
minRetryInterval: number; | |
maxRetryInterval: number; | |
DEFAULT_CLIENT_RETRY_INTERVAL: number; | |
DEFAULT_CLIENT_RETRY_COUNT: number; | |
DEFAULT_CLIENT_MAX_RETRY_INTERVAL: number; | |
DEFAULT_CLIENT_MIN_RETRY_INTERVAL: number; | |
constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike, retryCount?: number, retryInterval?: number, minRetryInterval?: number, maxRetryInterval?: number); | |
sendRequest(request: WebResourceLike): Promise<HttpOperationResponse>; | |
} | |
//# sourceMappingURL=systemErrorRetryPolicy.d.ts.map |