docs: def _threaded_callback(callback, *args):
      """
      Internal wrapper to start a callback in threaded mode. Using the
      daemon mode to not block the main thread from exiting.
      """
      t = Thread(target=callback, args=args)
      t.daemon = True
      t.start()