Module finchers_juniper::execute [−][src]
GraphQL executors.
In order to choose the strategy for executing GraphQL queries, the following GraphQL executors are provided:
-
NonblockingIt spawns the task for executing GraphQL queries by using the Tokio's default executor. It also notify the start of the blocking section to the runtime by using the blocking API provided bytokio_threadpool. -
CurrentThreadIt executes the GraphQL queries on the current thread. -
WithSpawnerIt spawn the task for executing GraphQL queries by using the specified task executor. Unlike toNonblocking, it does not notify the start of blocking section to the runtime.
Structs
| CurrentThread | |
| Nonblocking | |
| WithSpawner |
Traits
| Schema |
Trait representing a GraphQL schema. |
| SharedSchema |
A helper trait for representing a |
Functions
| current_thread |
Create a GraphQL executor from the specified |
| nonblocking |
Create a GraphQL executor from the specified |
| with_spawner |
Create a GraphQL executor from the specified |