code: def _fun(f, q_in, q_out):
      while True:
          i, x = q_in.get()
          if i is None:
              break
          value = f(*x)
          if hasattr(f, "call_log"):
              k = list(f.call_log.keys())[-1]
              q_out.put((i, value, k))
          else:
              q_out.put((i, value))
  
label_desc: Use image node_id 1 for calling a global function with example usage: _fun(f, q_in, q_out) without return types