code: def next_batch(self):
      if not self._start:
          self.reset()
  
      return self._q.get(block=True)
  
file_path: openrec/openrec/tf1/utils/samplers/sampler.py
imports: from multiprocessing import Process, Queue
label_desc: Use image node_id 2 for calling the Sampler obj's underlying member method code with example usage: obj.next_batch() and returns: self