UNPKG

341 BTypeScriptView Raw
1import DataLoader from 'dataloader';
2import { ExecutionParams, Executor } from './types';
3export declare function createBatchingExecutor(executor: Executor, dataLoaderOptions?: DataLoader.Options<any, any, any>, extensionsReducer?: (mergedExtensions: Record<string, any>, executionParams: ExecutionParams) => Record<string, any>): Executor;