def _done_callback(self, wrapped):
        if wrapped.exception():
            self.set_exception(wrapped.exception())
        else:
            self.set_result(wrapped.result())
Internal "done callback" to set the result of the object.
dataset/ETHPy150Open thefab/tornadis/tornadis/utils.py/ContextManagerFuture._done_callback