export async function runAutomaticSpatialSourceStart(
  start: () => Promise<boolean>,
  activateAutomaticSpatialSource: () => void,
  openSpatialScene: () => void,
): Promise<boolean> {
  const started = await start();
  if (!started) return false;
  activateAutomaticSpatialSource();
  openSpatialScene();
  return true;
}
