DocumentationAPI ReferencePackagesexecutors-envelop

@graphql-tools/executor-envelop

Interfaces

Type Aliases

Functions

Type Aliases

ExecutorPluginOpts

Ƭ ExecutorPluginOpts: Parameters<typeof schemaFromExecutor>[2] & { polling?: number }

Defined in

packages/executors/envelop/src/index.ts:14

Functions

useExecutor

useExecutor<TPluginContext>(executor, opts?): Plugin<TPluginContext> & ExecutorPluginExtras

Type parameters

NameType
TPluginContextextends Record<string, any>

Parameters

NameType
executorExecutor
opts?Partial<IntrospectionOptions> & GraphQLSchemaValidationOptions & ParseOptions & { polling?: number }

Returns

Plugin<TPluginContext> & ExecutorPluginExtras

Defined in

packages/executors/envelop/src/index.ts:24