MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getRunningTasks

Function getRunningTasks

source code/utils/task/framework.ts:151–154  ·  view source on GitHub ↗
(state: AppState)

Source from the content-addressed store, hash-verified

149 * Get all running tasks.
150 */
151export function getRunningTasks(state: AppState): TaskState[] {
152 const tasks = state.tasks ?? {}
153 return Object.values(tasks).filter(task => task.status === 'running')
154}
155
156/**
157 * Generate attachments for tasks with new output or status changes.

Callers 3

runHeadlessStreamingFunction · 0.85
drainCommandQueueFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected