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/e0b7a2bcf575cfba10528c4e7c10bd3ce2d7769a/node_modules/@tanstack/router-core/dist/esm/utils/batch.js.map
