class_docstr: Helper class for tracking the status of many in-flight actor tasks.
class_docstr_tok: ["Helper","class","for","tracking","the","status","of","many","in-flight","actor","tasks","."]
code: def __init__(self):
      self._tasks = {}
      self._objects = {}
      self._fetching = deque()
  
file_path: ray/rllib/utils/actors.py
imports: from collections import defaultdict, deque
  import logging
  import platform
  from typing import Any, Dict, List, Optional, Sequence, Tuple, Type
  import ray
  from ray.actor import ActorClass, ActorHandle
label_desc: Use image node_id 1 to create a new TaskPool object  with example: obj = TaskPool()