code: async def serviceQueues(self, limit=None) -> int:
          
          # do not start any view changes until catch-up is finished!
          if not Mode.is_done_syncing(self.provider.node_mode()):
              return 0
          return await self.inBoxRouter.handleAll(self.inBox, limit)
docs: Service at most `limit` messages from the inBox.
  
          :param limit: the maximum number of messages to service
          :return: the number of messages successfully processed