MCPcopy Create free account
hub / github.com/encoder-run/operator / processDeferredGroup

Method processDeferredGroup

pkg/graph/generated.go:865–882  ·  view source on GitHub ↗
(dg graphql.DeferredGroup)

Source from the content-addressed store, hash-verified

863}
864
865func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) {
866 atomic.AddInt32(&ec.pendingDeferred, 1)
867 go func() {
868 ctx := graphql.WithFreshResponseContext(dg.Context)
869 dg.FieldSet.Dispatch(ctx)
870 ds := graphql.DeferredResult{
871 Path: dg.Path,
872 Label: dg.Label,
873 Result: dg.FieldSet,
874 Errors: graphql.GetErrors(ctx),
875 }
876 // null fields should bubble up
877 if dg.FieldSet.Invalids > 0 {
878 ds.Result = graphql.Null
879 }
880 ec.deferredResults <- ds
881 }()
882}
883
884func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
885 if ec.DisableIntrospection {

Callers 15

_HuggingFaceMethod · 0.95
_ModelMethod · 0.95
_ModelDeploymentMethod · 0.95
_MutationMethod · 0.95
_PipelineMethod · 0.95
_PipelineExecutionMethod · 0.95
_QueryMethod · 0.95
_RepositoryMethod · 0.95
_RepositoryEmbeddingsMethod · 0.95
_SearchResultMethod · 0.95
_StorageMethod · 0.95
_StorageDeploymentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected