MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / AgentTaskRuntime

Struct AgentTaskRuntime

agent/task_runtime.go:105–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105type AgentTaskRuntime struct {
106 mu sync.Mutex
107 records map[string]*AgentTaskRecord
108 notifications map[string][]TaskNotification
109 waiters map[string][]chan struct{}
110 workers map[string]context.CancelFunc
111 workerSpecs map[string]workerSpec
112 scopes map[string]struct{}
113 childCounts map[string]int
114 taskParentScopes map[string]string
115 expiredTaskParentScopes map[string]string
116 recordCleanupCancels map[string]context.CancelFunc
117 idleTTLCancels map[string]context.CancelFunc
118 taskEventSink TaskEventSink
119 taskEventObserver TaskEventSink
120}
121
122type workerSpec struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected