import{r as n,u}from"./vendor-@vue.d54eea3a.js";function o(t){const e=n(!1);return async function(...a){if(!u(e)){e.value=!0;try{const r=await t(...a);return e.value=!1,r}catch(r){throw e.value=!1,r}}}}export{o as useLockFn};
