MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / worker

Function worker

tests/test_transcript.py:139–142  ·  view source on GitHub ↗
(idx: int)

Source from the content-addressed store, hash-verified

137 n_writes = 50
138
139 def worker(idx: int) -> None:
140 with TranscriptWriter(path) as w:
141 for j in range(n_writes):
142 w.append({"thread": idx, "n": j})
143
144 threads = [threading.Thread(target=worker, args=(i,)) for i in range(n_threads)]
145 for t in threads:

Callers

nothing calls this directly

Calls 2

TranscriptWriterClass · 0.90
appendMethod · 0.45

Tested by

no test coverage detected