code: def server(queue, is_async):
      """Start a server, within this process."""
      manager = perspective.PerspectiveManager()
      table = get_table()
      manager.host_table("data_source_one", table)
  
      if is_async:
          thread = threading.Thread(
              target=perspective_thread, args=(manager,)
          )
          thread.daemon = True
          thread.start()
  
      loop = tornado.ioloop.IOLoop.current()
      loop.add_callback(queue.put, True)
      if not is_async:
          manager.set_loop_callback(loop.add_callback)
  
      make_app(manager)
      loop.start()
  
file_path: perspective/python/perspective/bench/tornado/async_server.py
imports: import multiprocessing
  import asyncio
  import os
  import os.path
  import perspective
  import time
  import tornado
  import threading
  import numpy
  from bench import PerspectiveTornadoBenchmark
label_desc: Use image node_id 4 for calling a global function with example usage: server(queue, is_async) without return types