MCPcopy
hub / github.com/claude-code-best/claude-code / getRunningTasks

Function getRunningTasks

src/utils/task/framework.ts:149–152  ·  view source on GitHub ↗
(state: AppState)

Source from the content-addressed store, hash-verified

147 * Get all running tasks.
148 */
149export function getRunningTasks(state: AppState): TaskState[] {
150 const tasks = state.tasks ?? {}
151 return Object.values(tasks).filter(task => task.status === 'running')
152}
153
154/**
155 * 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