Example #1
0
 def __processQueue(self):
     if self.__request is not None:
         return
     elif self.__queue:
         self.__request = RequestProcessor(self.__nextRequestTime(), self.__queue.pop())
         return
     else:
         return
Example #2
0
 def __requestWGMBalanceInfo(self, callback):
     proxy = partial(self.__processResponse, callback)
     self.__request = RequestProcessor(self.__nextRequestTime(), lambda : self.__cooldownCallback(proxy))