class_docstr: A private class used the `Stream` class for creating data sources.
  
  Parameters
  ----------
  source : `Iterable[T]`
      The iterable to be used for providing the data.
  dtype : str, optional
      The data type of the source.
class_docstr_tok: ["A","private","class","used","the","`","Stream","`","class","for","creating","data","sources",".","Parameters","--","--","--","--","--","source",":","`","Iterable","[","T","]","`","The","iterable","to","be","used","for","providing","the","data",".","dtype",":","str",",","optional","The","data","type","of","the","source","."]
code: def forward(self) -> T:
      v = self.current
      try:
          self.current = next(self.generator)
      except StopIteration:
          self.stop = True
      return v
  
imports: import inspect
  from abc import abstractmethod
  from typing import Generic, Iterable, TypeVar, Dict, Any, Callable, List, Tuple
  from tensortrade.core import Observable
  from tensortrade.feed.core.accessors import CachedAccessor
  from tensortrade.feed.core.mixins import DataTypeMixin
label_desc: Use image node_id 2 for calling the IterableStream obj's underlying member method code with example usage: obj.forward() and returns: v