MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / callback

Method callback

python/update.py:75–81  ·  view source on GitHub ↗
(self, ctxt, progress, total)

Source from the content-addressed store, hash-verified

73 self.func = func
74
75 def callback(self, ctxt, progress, total):
76 try:
77 if self.func is not None:
78 return self.func(progress, total)
79 return True
80 except:
81 log_error(traceback.format_exc())
82
83 @property
84 def active(cls):

Callers

nothing calls this directly

Calls 2

log_errorFunction · 0.85
funcMethod · 0.80

Tested by

no test coverage detected