code: def eval_cb(image, progress):
      progress_print("eval", progress)
  
      # you can kill computation if necessary
      if progress.percent > 50:
          image.set_kill(True)
  
imports: import pyvips
label_desc: Use image node_id 3 for calling a global function with example usage: eval_cb(image, progress) without return types