@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
Name | Type |
---|---|
TPluginContext | extends Record <string , any > |
Parameters
Name | Type |
---|---|
executor | Executor |
opts? | Partial <IntrospectionOptions > & GraphQLSchemaValidationOptions & ParseOptions & { polling? : number } |
Returns
Plugin
<TPluginContext
> & ExecutorPluginExtras