mirror of
https://github.com/github/codeql-action.git
synced 2025-12-25 00:30:08 +08:00
4 lines
460 B
TypeScript
4 lines
460 B
TypeScript
import { IHttpClientResponse } from '@actions/http-client/interfaces';
|
|
export declare function retry(name: string, operation: () => Promise<IHttpClientResponse>, customErrorMessages: Map<number, string>, maxAttempts: number): Promise<IHttpClientResponse>;
|
|
export declare function retryHttpClientRequest<T>(name: string, method: () => Promise<IHttpClientResponse>, customErrorMessages?: Map<number, string>, maxAttempts?: number): Promise<IHttpClientResponse>;
|