def make_call_with_cb(self, fun, *args):
cid, event = self.handler.register_callback()<EOL>argscp = list(args)<EOL>argscp.append(cid)<EOL>self.make_call(fun, *argscp)<EOL>return event<EOL>
Makes an API call with a callback to wait for