code: def asynchronous(function, event):
      
      thread = Thread(target=synchronous, args=(function, event))
      thread.daemon = True
      thread.start()
docs: Runs the function asynchronously taking care of exceptions.