code: def make_program() -> lp.Program:
      """Define the distributed program topology."""
      program = lp.Program("program_wait")
      program.add_node(lp.CourierNode(_sleep), label="sleep")
      program.add_node(
          lp.CourierNode(_wait_for_stop), label="_wait_for_stop"
      )
      program.add_node(lp.CourierNode(_stop_event), label="_stop_event")
      program.add_node(
          lp.CourierNode(_register_stop_handler),
          label="_register_stop_handler",
      )
      program.add_node(
          lp.CourierNode(_stop_program), label="_stop_program"
      )
      return program
  
file_path: launchpad/launchpad/examples/program_wait/launch.py
imports: import threading
  import time
  from absl import app
  from absl import logging
  import launchpad
label_desc: Use image node_id 6 for calling a global function with example usage: make_program() and returns: program