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