@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(executor, opts?): Plugin & { invalidateSupergraph: () => void ; pluginCtx: ExecutorPluginContext ; ensureSchema: (ctx?: any) => void }
Parameters
| Name | Type |
|---|---|
executor | Executor |
opts? | Partial<IntrospectionOptions> & GraphQLSchemaValidationOptions & ParseOptions & { polling?: number } |
Returns
Plugin & { invalidateSupergraph: () => void ; pluginCtx: ExecutorPluginContext ; ensureSchema: (ctx?: any) => void }