Type Definition warpgrapher::engine::resolvers::ResolverFunc
source · [−]pub type ResolverFunc<RequestCtx> = fn(_: ResolverFacade<'_, RequestCtx>) -> BoxFuture<'_, ExecutionResult>;
Expand description
Type alias for custom resolver functions. Takes a ResolverFacade
and returns an
ExecutionResult.