code: def get(self):
          
          tasks = self._get_avaliable_tasks()
          if not tasks:
              return None
          name, data = tasks[0]
          self._client.kv.delete(name)
          return data
docs: Get a task from the queue.