Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/executorsrcfunctionsexecuteSync

Function: executeSync()

executeSync(args): SingularExecutionResult

Defined in: packages/executor/src/execution/execute.ts:344

Also implements the “Executing requests” section of the GraphQL specification. However, it guarantees to complete synchronously (or throw an error) assuming that all field resolvers are also synchronous.

Parameters

args

ExecutionArgs

Returns

SingularExecutionResult