import { batch as batch$1 } from "@tanstack/store";
import { isServer } from "@tanstack/router-core/isServer";
function batch(fn) {
  if (isServer) {
    return fn();
  }
  let result;
  batch$1(() => {
    result = fn();
  });
  return result;
}
export {
  batch
};//# sourceMappingURL=https://main.vscode-cdn.net/sourcemaps/ecfbad74d93962fc8ca485d93ab9b4f3d4cb6cf8/node_modules/@tanstack/router-core/dist/esm/utils/batch.js.map
