code: def on_ready(self) -> Iterator[Stream]:
      with self.array.device:
          stream = get_current_stream()
          stream.wait_event(self.ready)
          yield stream
  
imports: import contextlib
  from itertools import chain
  from typing import Any, Iterator, Optional, Union
  import numpy
  from cupy._core.core import ndarray
  import cupy._creation.basic
  import cupy._manipulation.dims
  from cupy.cuda.device import Device
  from cupy.cuda.stream import Event
  from cupy.cuda.stream import Stream
  from cupy.cuda.stream import get_current_stream
  from cupyx.distributed.array import _modes
  from cupyx.distributed.array import _index_arith
  from cupyx.distributed.array import _data_transfer
  from cupyx.distributed.array._data_transfer import _Communicator
label_desc: Use image node_id 3 for calling the _Chunk obj's underlying member method code with example usage: obj.on_ready() without return types