docs: def record_async(self, callback_fn):
          """ Call this when the user clicks the record button. """
          assert callable(callback_fn)
  
          def record_thread():
              current_frame_time = self.get_current_frame_time()
  
              def handle_finished(xdatas):
                  callback_fn(xdatas)
  
              self.start_recording(current_frame_time, finished_callback_fn=handle_finished)
  
          self.__thread = threading.Thread(target=record_thread)
          self.__thread.start()