MCPcopy Index your code
hub / github.com/shareAI-lab/learn-claude-code / worker

Function worker

s15_agent_teams/code.py:307–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

305 cmd = block.input.get("command", block.name)
306
307 def worker():
308 result = execute_tool(block)
309 with background_lock:
310 background_tasks[bg_id]["status"] = "completed"
311 background_results[bg_id] = result
312
313 with background_lock:
314 background_tasks[bg_id] = {

Callers

nothing calls this directly

Calls 1

execute_toolFunction · 0.70

Tested by

no test coverage detected