vue-use-until
v1.0.1
Published
Vue 3 promised one-time watch for reactive values
Maintainers
Readme
Installation
npm install vue-use-untilUsage
import { until } from 'vue-use-until'
import { ref } from 'vue'
const count = ref(0)
setTimeout(() => {
count.value = 5
}, 100)
until(count).toBe(5).then(() => {
console.log('Count reached 5!')
})License
MIT
Extracted from VueUse for standalone use.
