1 | import { ApolloLink, Operation, FetchResult, NextLink } from '../core';
|
2 | import { Observable } from '../../utilities';
|
3 | import { DelayFunction, DelayFunctionOptions } from './delayFunction';
|
4 | import { RetryFunction, RetryFunctionOptions } from './retryFunction';
|
5 | export declare namespace RetryLink {
|
6 | interface Options {
|
7 | delay?: DelayFunctionOptions | DelayFunction;
|
8 | attempts?: RetryFunctionOptions | RetryFunction;
|
9 | }
|
10 | }
|
11 | export declare class RetryLink extends ApolloLink {
|
12 | private delayFor;
|
13 | private retryIf;
|
14 | constructor(options?: RetryLink.Options);
|
15 | request(operation: Operation, nextLink: NextLink): Observable<FetchResult>;
|
16 | }
|
17 | //# sourceMappingURL=retryLink.d.ts.map |
\ | No newline at end of file |