Odoo GraphQL Subscription using Node, Express JS for Sample
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
917 B

5 months ago
import type { Operation, FetchResult } from "../core/index.js";
import { ApolloLink } from "../core/index.js";
import { Observable } from "../../utilities/index.js";
import type { HttpOptions } from "../http/index.js";
import { BatchLink } from "../batch/index.js";
export declare namespace BatchHttpLink {
type Options = Pick<BatchLink.Options, "batchMax" | "batchDebounce" | "batchInterval" | "batchKey"> & Omit<HttpOptions, "useGETForQueries">;
}
/**
* Transforms Operation for into HTTP results.
* context can include the headers property, which will be passed to the fetch function
*/
export declare class BatchHttpLink extends ApolloLink {
private batchDebounce?;
private batchInterval;
private batchMax;
private batcher;
constructor(fetchParams?: BatchHttpLink.Options);
request(operation: Operation): Observable<FetchResult> | null;
}
//# sourceMappingURL=batchHttpLink.d.ts.map