UNPKG

@graphql-tools/batch-execute

Version:

A set of utils for faster development of GraphQL tools

6 lines (5 loc) 345 B
import { memoize2of4 } from '@graphql-tools/utils'; import { createBatchingExecutor } from './createBatchingExecutor.js'; export const getBatchingExecutor = memoize2of4(function getBatchingExecutor(_context, executor, dataLoaderOptions, extensionsReducer) { return createBatchingExecutor(executor, dataLoaderOptions, extensionsReducer); });