MCPcopy Create free account
hub / github.com/krau/SaveAny-Bot / GetTask

Function GetTask

api/progress.go:68–73  ·  view source on GitHub ↗

GetTask returns the progress info for a task.

(taskID string)

Source from the content-addressed store, hash-verified

66
67// GetTask returns the progress info for a task.
68func GetTask(taskID string) (*TaskProgressInfo, bool) {
69 store.mu.RLock()
70 defer store.mu.RUnlock()
71 info, ok := store.tasks[taskID]
72 return info, ok
73}
74
75// GetAllTasks returns all tracked tasks.
76func GetAllTasks() []*TaskProgressInfo {

Callers 4

GetTaskHandlerMethod · 0.85
CancelTaskHandlerMethod · 0.85
SendWebhookFunction · 0.85

Calls

no outgoing calls

Tested by 1