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

Method callback

module/Scheduler.py:37–44  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

35 self.call.append((f, cargs, ckwargs))
36
37 def callback(self, *args, **kwargs):
38 if self.result:
39 raise AlreadyCalled
40 self.result = (args, kwargs)
41 for f, cargs, ckwargs in self.call:
42 args += tuple(cargs)
43 kwargs.update(ckwargs)
44 f(*args ** kwargs)
45
46
47class Scheduler():

Callers 2

runMethod · 0.80
connectionMadeMethod · 0.80

Calls 2

fFunction · 0.50
updateMethod · 0.45

Tested by

no test coverage detected