UNPKG

@graphql-mesh/serve-runtime

Version:
12 lines (11 loc) 630 B
import type { GraphQLSchema } from 'graphql'; import type { OnSubgraphExecuteHook } from '@graphql-mesh/fusion-runtime'; import type { Executor } from '@graphql-tools/utils'; import type { MeshServeConfigContext, MeshServeConfigWithProxy } from './types.cjs'; export declare function getProxyExecutor<TContext>({ config, configContext, getSchema, onSubgraphExecuteHooks, disposableStack, }: { config: MeshServeConfigWithProxy<TContext>; configContext: MeshServeConfigContext; getSchema: () => GraphQLSchema; onSubgraphExecuteHooks: OnSubgraphExecuteHook[]; disposableStack: AsyncDisposableStack; }): Executor;