Module

Prospero.Defer

Package
purescript-prospero
Repository
rowtype-yoga/purescript-prospero

#DeferPatch Source

type DeferPatch :: Type -> Row Type -> Typetype DeferPatch ctx errs = { execute :: Om ctx errs GraphQLResponse, label :: Maybe String, path :: Array String }

#DeferredResponse Source

type DeferredResponse :: Type -> Row Type -> Typetype DeferredResponse ctx errs = { deferred :: Array (DeferPatch ctx errs), hasDeferred :: Boolean, initial :: Om ctx errs GraphQLResponse }

#executeWithDefer Source

executeWithDefer :: forall ctx errs gql. GraphQL ctx errs gql -> String -> Map String InputValue -> DeferredResponse ctx errs