class_docstr: A wrapper type for ray.ObjectRef. Currently supports ray.get but not
  ray.wait.
docstr: Close this channel by setting the error bit on the object.
  
  Does not block. Any existing values in the channel may be lost after the
  channel is closed.
docstr_tok: ["Close","this","channel","by","setting","the","error","bit","on","the","object",".","Does","not","block",".","Any","existing","values","in","the","channel","may","be","lost","after","the","channel","is","closed","."]
code: def close(self) -> None:
      """
      Close this channel by setting the error bit on the object.
  
      Does not block. Any existing values in the channel may be lost after the
      channel is closed.
      """
      logger.debug(f"Setting error bit on channel: {self._base_ref}")
      self._worker.core_worker.experimental_mutable_object_set_error(
          self._base_ref
      )
  
file_path: ray/python/ray/experimental/channel.py
imports: import io
  import logging
  from typing import Any, Optional
  import ray
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 7 for calling the Channel obj's underlying member method code with example usage: obj.close() without return types