MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTaskByType

Function getTaskByType

src/tasks.ts:37–39  ·  view source on GitHub ↗
(type: TaskType)

Source from the content-addressed store, hash-verified

35 * Get a task by its type.
36 */
37export function getTaskByType(type: TaskType): Task | undefined {
38 return getAllTasks().find(t => t.type === type)
39}
40

Callers 1

stopTaskFunction · 0.85

Calls 1

getAllTasksFunction · 0.85

Tested by

no test coverage detected