2 lines
223 B
JavaScript
2 lines
223 B
JavaScript
|
|
import{z as a}from"./index.afed79ba.js";function t(t){const e=a(!1);return{isLock:e,lockFn:async(...a)=>{if(!e.value){e.value=!0;try{const n=await t(...a);return e.value=!1,n}catch(n){throw e.value=!1,n}}}}}export{t as u};
|