

def __init__(self, data=None):
    Callback.Callbacks.__init__(self)
    self.evt = threading.Event()
    self.res = None
    self.data = data
    self.enable_callback('resolved')

dataset/ETHPy150Open ejeschke/ginga/ginga/misc/Future.py Future.__init__/original