@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for SQL API
10 lines • 357 B
TypeScript
import { ErrorResponse } from "../request";
import { RetryContext } from "./RetryContext";
/**
* @hidden
*/
export interface RetryPolicy {
retryAfterInMs: number;
shouldRetry: (errorResponse: ErrorResponse, retryContext?: RetryContext, locationEndpoint?: string) => Promise<boolean | [boolean, string]>;
}
//# sourceMappingURL=RetryPolicy.d.ts.map