code: def start_sequence():
      
      print('getting started!...')
      t = threading.Thread(target=my_application, kwargs=dict(api=api))
      t.daemon = True
      t.start()
      return 'ok, starting webhook to: %s' % (ngrok_url,)
docs: Start the demo sequence
  
      We must start this thread in the same process as the webserver to be certain
      we are sharing the api instance in memory.
  
      (ideally in future the async id database will be capable of being more than
      just a dictionary)