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

Method work

module/Scheduler.py:78–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 return False
77
78 def work(self):
79 while True:
80 t, j = self.queue.get()
81 if not j:
82 break
83 else:
84 if t <= time():
85 j.start()
86 else:
87 self.queue.put((t, j))
88 break
89
90
91class Job():

Callers 1

startMethod · 0.45

Calls 3

getMethod · 0.45
startMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected