Liferay.Loader.define("@liferay/search-experiences-web@3.0.30/sxp_blueprint_admin/js/hooks/useAsyncCall",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,r,t){window;Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=t("liferay!frontend-js-react-web$react");var a=function useAsyncCall(e,r=2e3){const[t,a]=(0,n.useState)(!0);return(0,n.useEffect)((()=>{(e=>new Promise((r=>setTimeout(r,e))))(r).then(e).finally((()=>{a(!1)}))}),[]),[t,a]};r.default=a}));
//# sourceMappingURL=useAsyncCall.js.map