项目
在 GitHub 查看
MartinMalinda/vue-concurrency
关于
用于封装异步操作并管理 Vue 和 Composition API 并发的库。
网站与应用开发可以做什么
- Vue 3.3+ (Version === 5.x)✅
- Vue 2.7 & 3.2 (Version === 4.x)✅
- Vue 2 + @vue/composition-api (Version < 4.x) ✅
- TypeScript support
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文🚦 vue-concurrency
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:
Features
- Vue 3.3+ (Version === 5.x)✅
- Vue 2.7 & 3.2 (Version === 4.x)✅
- Vue 2 + @vue/composition-api (Version < 4.x) ✅
- TypeScript support
- Async cancellation via generator functions and CAF
- Providing
AbortSignalto abort XHR/Fetch requests - Derived reactive state to track status of async operations:
isRunning, isIdle, isFinished, isCancelledand more - Concurrency management:
drop(),restartable(),enqueue()and other tasks - SSR support (experimental)
Installation
Demos
License
MIT
探索相关项目
加载中…