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

Method addJob

module/Scheduler.py:53–58  ·  view source on GitHub ↗
(self, t, call, args=[], kwargs={}, threaded=True)

Source from the content-addressed store, hash-verified

51 self.queue = PriorityQueue()
52
53 def addJob(self, t, call, args=[], kwargs={}, threaded=True):
54 d = Deferred()
55 t += time()
56 j = Job(t, call, args, kwargs, d, threaded)
57 self.queue.put((t, j))
58 return d
59
60
61 def removeJob(self, d):

Callers 5

getAccountInfosMethod · 0.80
reloadPluginsMethod · 0.80
startMethod · 0.80
update_scheduleMethod · 0.80
activateMethod · 0.80

Calls 3

DeferredClass · 0.85
JobClass · 0.85
putMethod · 0.45

Tested by

no test coverage detected