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

Method createResultThread

module/ThreadManager.py:91–100  ·  view source on GitHub ↗

creates a thread to fetch online status, returns result id

(self, data, add=False)

Source from the content-addressed store, hash-verified

89
90 @lock
91 def createResultThread(self, data, add=False):
92 """ creates a thread to fetch online status, returns result id """
93 self.timestamp = time() + 5 * 60
94
95 rid = self.resultIDs
96 self.resultIDs += 1
97
98 PluginThread.InfoThread(self, data, rid=rid, add=add)
99
100 return rid
101
102
103 @lock

Callers 2

checkOnlineStatusMethod · 0.80
checkAndAddPackagesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected