original_docstring: Pauses computation on this env without destroying the env. This is
              useful for not needing to call steps on all environments when only
              some are active (for example during the last episodes of running
              eval episodes).
  
          Args:
              index: which env to pause. All indexes after this one will be
                  shifted down by one.
          
docstring: Pauses computation on this env without destroying the env. This is
  useful for not needing to call steps on all environments when only
  some are active (for example during the last episodes of running
  eval episodes).
docstring_tokens: Pauses computation on this env without destroying the env . This is useful for not needing to call steps on all environments when only some are active ( for example during the last episodes of running eval episodes ) .
code: def pause_at(self, index: int) -> None:
          """Pauses computation on this env without destroying the env. This is
              useful for not needing to call steps on all environments when only
              some are active (for example during the last episodes of running
              eval episodes).
  
          Args:
              index: which env to pause. All indexes after this one will be
                  shifted down by one.
          """
          if self._is_waiting:
              for read_fn in self._connection_read_fns:
                  read_fn()
          read_fn = self._connection_read_fns.pop(index)
          write_fn = self._connection_write_fns.pop(index)
          worker = self._workers.pop(index)
          self._paused.append((index, read_fn, write_fn, worker))
code_tokens: def pause_at ( self , index : int ) -> None : if self . _is_waiting : for read_fn in self . _connection_read_fns : read_fn ( ) read_fn = self . _connection_read_fns . pop ( index ) write_fn = self . _connection_write_fns . pop ( index ) worker = self . _workers . pop ( index ) self . _paused . append ( ( index , read_fn , write_fn , worker ) )
short_docstring: Pauses computation on this env without destroying the env.
short_docstring_tokens: Pauses computation on this env without destroying the env .
comment: """Pauses computation on this env without destroying the env. This is
              useful for not needing to call steps on all environments when only
              some are active (for example during the last episodes of running
              eval episodes).
  
          Args:
              index: which env to pause. All indexes after this one will be
                  shifted down by one.
          """