UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

10 lines 448 B
import type { Operation } from "../core/index.js"; export interface RetryFunction { (count: number, operation: Operation, error: any): boolean | Promise<boolean>; } export interface RetryFunctionOptions { max?: number; retryIf?: (error: any, operation: Operation) => boolean | Promise<boolean>; } export declare function buildRetryFunction(retryOptions?: RetryFunctionOptions): RetryFunction; //# sourceMappingURL=retryFunction.d.ts.map