Function finchers_juniper::execute::nonblocking [−][src]
pub fn nonblocking<S>(schema: S) -> Nonblocking<S> where
S: SharedSchema,
Create a GraphQL executor from the specified RootNode
.
The endpoint created by this wrapper will spawn a task which executes the GraphQL queries
after receiving the request, by using tokio's DefaultExecutor
, and notify the start of
the blocking section by using tokio_threadpool's blocking API.