import{shallowRef as n,onBeforeUnmount as t}from"vue";import r from"../../../_util/raf.mjs";const c=()=>{const e=n(0),o=()=>{r.cancel(e.value)};return t(()=>{o()}),a=>{o(),e.value=r(()=>{a()})}};export{c as default};
