MCPcopy Create free account
hub / github.com/Image-Py/imagepy / ok

Method ok

imagepy/core/engine/simple.py:51–58  ·  view source on GitHub ↗
(self, ips, para=None, callafter=None)

Source from the content-addressed store, hash-verified

49 def cancel(self, ips):pass
50
51 def ok(self, ips, para=None, callafter=None):
52 if para == None: para = self.para
53 if self.asyn and IPy.uimode()!='no':
54 threading.Thread(target = self.runasyn,
55 args = (ips, ips.imgs, para, callafter)).start()
56 else: self.runasyn(ips, ips.imgs, para, callafter)
57 win = WidgetsManager.getref('Macros Recorder')
58 if win!=None: win.write('{}>{}'.format(self.title, para))
59
60 def runasyn(self, ips, imgs, para = None, callback = None):
61 TaskManager.add(self)

Callers 2

showMethod · 0.95
startMethod · 0.95

Calls 4

runasynMethod · 0.95
getrefMethod · 0.80
startMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected