import{shallowRef as n,onMounted as u}from"vue";function c(a=10){const o=n(!1);let t;const e=()=>{clearTimeout(t)};return u(()=>{e()}),[o,(s,l)=>{e(),t=setTimeout(()=>{o.value=s,l&&l()},a)},e]}export{c as default};
