Inspired by ember-concurrency.
A library for encapsulating asynchronous operations and managing concurrency for Vue and Composition API.
vue-concurrency aims to provide a reasonable abstraction for performing asynchronous operations. It reduces boilerplate code, provides reliable derived state and allows new approaches to techniques like throttling, debouncing, polling. Read more about why and how in the docs:
AbortSignalto abort XHR/Fetch requests
isRunning, isIdle, isFinished, isCancelledand more
enqueue()and other tasks
Subscribe to me on herohero to receive bi-weekly coding tips, hacks and other distilled knowledge from my day to day work. I'm building herohero using Vue 3 and vue concurrency:).