def register_callback(self):
cid = str(self.__cid)<EOL>self.__cid += <NUM_LIT:1><EOL>event = queue.Queue()<EOL>self.__callbacks[cid] = event<EOL>return cid, event<EOL>
Register callback that we will have to wait for