Asynchronous Tasks to manage Concurrency
vue-concurrencyis a library for encapsulating asynchronous operations and managing concurrency for Vue and Composition API.
It aims to provide a reasonable abstraction for performing asynchronous operations by offering the concept of Tasks.
Tasks wrap asynchronous operations, and every Task has its own derived state. As opposed to promises, they can be cancelled and they cancel automatically if the component is unmounted. Tasks can be run in parallel, set as restartable, canceled or enqueued to be performed later.
vue-concurrencyreduces boilerplate code and allows new approaches to techniques like throttling, debouncing, polling."