MCPcopy
hub / github.com/pyload/pyload / __init__

Method __init__

module/PluginThread.py:427–439  ·  view source on GitHub ↗

Constructor

(self, m, function, args, kwargs)

Source from the content-addressed store, hash-verified

425
426 #----------------------------------------------------------------------
427 def __init__(self, m, function, args, kwargs):
428 """Constructor"""
429 PluginThread.__init__(self, m)
430
431 self.f = function
432 self.args = args
433 self.kwargs = kwargs
434
435 self.active = []
436
437 m.localThreads.append(self)
438
439 self.start()
440
441 def getActiveFiles(self):
442 return self.active

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 2

appendMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected