MCPcopy Index your code
hub / github.com/pyload/pyload / queue

Function queue

module/database/DatabaseBackend.py:288–293  ·  view source on GitHub ↗
(self, f, *args, **kwargs)

Source from the content-addressed store, hash-verified

286 self.jobs.put(job)
287
288 def queue(self, f, *args, **kwargs):
289 args = (self, ) + args
290 job = DatabaseJob(f, *args, **kwargs)
291 self.jobs.put(job)
292 job.wait()
293 return job.result
294
295 @classmethod
296 def registerSub(cls, klass):

Callers

nothing calls this directly

Calls 3

waitMethod · 0.95
DatabaseJobClass · 0.85
putMethod · 0.45

Tested by

no test coverage detected