code: def run_optimization_app():
      asyncio.set_event_loop(asyncio.new_event_loop())
      handlers = [
          (r"/bayesian_optimization", BayesianOptimizationHandler),
      ]
      server = tornado.httpserver.HTTPServer(
          tornado.web.Application(handlers)
      )
      server.listen(9009)
      tornado.ioloop.IOLoop.instance().start()
  
file_path: BayesianOptimization/examples/async_optimization.py
imports: import time
  import random
  from bayes_opt import BayesianOptimization
  from bayes_opt.util import UtilityFunction, Colours
  import asyncio
  import threading
label_desc: Use image node_id 2 for calling a global function with example usage: run_optimization_app() without return types