MCPcopy Create free account
hub / github.com/fogleman/primitive / worker

Function worker

scripts/process.py:36–41  ·  view source on GitHub ↗
(jobs, done)

Source from the content-addressed store, hash-verified

34 return result
35
36def worker(jobs, done):
37 while True:
38 job = jobs.get()
39 log(job)
40 primitive(*job)
41 done.put(True)
42
43def process(in_folder, out_folder, nlist, alist, mlist, nworkers):
44 jobs = Queue()

Callers

nothing calls this directly

Calls 2

logFunction · 0.85
primitiveFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…