1 | import { Operation } from 'apollo-link';
|
2 | export interface RetryFunction {
|
3 | (count: number, operation: Operation, error: any): boolean | Promise<boolean>;
|
4 | }
|
5 | export interface RetryFunctionOptions {
|
6 | max?: number;
|
7 | retryIf?: (error: any, operation: Operation) => boolean | Promise<boolean>;
|
8 | }
|
9 | export declare function buildRetryFunction(retryOptions?: RetryFunctionOptions): RetryFunction;
|
10 | //# sourceMappingURL=retryFunction.d.ts.map |
\ | No newline at end of file |