@graphql-tools/batch-execute
Functions
Functions
createBatchingExecutor
▸ createBatchingExecutor(executor
, dataLoaderOptions?
, extensionsReducer?
): Executor
Parameters
Name | Type | Default value |
---|---|---|
executor | Executor | undefined |
dataLoaderOptions? | Options <any , any , any > | undefined |
extensionsReducer | (mergedExtensions : Record <string , any >, request : ExecutionRequest <any , any , any , Record <string , any >, any >) => Record <string , any > | defaultExtensionsReducer |
Returns
Defined in
packages/batch-execute/src/createBatchingExecutor.ts:13
getBatchingExecutor
▸ getBatchingExecutor(_context
, executor
, dataLoaderOptions?
, extensionsReducer?
): Executor
Parameters
Name | Type |
---|---|
_context | Record <string , any > |
executor | Executor |
dataLoaderOptions? | Options <any , any , any > |
extensionsReducer? | (mergedExtensions : Record <string , any >, request : ExecutionRequest <any , any , any , Record <string , any >, any >) => Record <string , any > |