code: def iter_with_sleep():
      yield 1
      time.sleep(0.6)
      yield 2
      time.sleep(0.4)
      yield 3
  
imports: import unittest
  import time
  from iterators import TimeoutIterator
label_desc: Use image node_id 2 for calling a global function with example usage: iter_with_sleep() without return types