1 | import { ApolloLink, Operation, FetchResult } from '../core';
|
2 | import { Observable } from '../../utilities';
|
3 | import { HttpOptions } from '../http';
|
4 | import { BatchLink } from '../batch';
|
5 | export declare namespace BatchHttpLink {
|
6 | type Options = Pick<BatchLink.Options, 'batchMax' | 'batchDebounce' | 'batchInterval' | 'batchKey'> & HttpOptions;
|
7 | }
|
8 | export declare class BatchHttpLink extends ApolloLink {
|
9 | private batchDebounce?;
|
10 | private batchInterval;
|
11 | private batchMax;
|
12 | private batcher;
|
13 | constructor(fetchParams?: BatchHttpLink.Options);
|
14 | request(operation: Operation): Observable<FetchResult> | null;
|
15 | }
|
16 | //# sourceMappingURL=batchHttpLink.d.ts.map |
\ | No newline at end of file |