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

Method cancelIdleTTLLocked

agent/task_runtime.go:811–816  ·  view source on GitHub ↗
(taskID string)

Source from the content-addressed store, hash-verified

809}
810
811func (rt *AgentTaskRuntime) cancelIdleTTLLocked(taskID string) {
812 if cancel := rt.idleTTLCancels[taskID]; cancel != nil {
813 cancel()
814 }
815 delete(rt.idleTTLCancels, taskID)
816}
817
818func (rt *AgentTaskRuntime) cancelAllIdleTTLLocked() {
819 for taskID, cancel := range rt.idleTTLCancels {

Callers 5

SendMessageMethod · 0.95
StopTaskMethod · 0.95
scheduleIdleTTLLockedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected