code: def _add_future(cls, future):
      
      if cls._local._activated:
        cls._local._in_order_futures.add(future)
docs: Adds a future to the list of in-order futures thus far.
  
      Args:
        future: The future to add to the list.