Socket
Socket
Sign inDemoInstall

vue-concurrency

Package Overview
Dependencies
339
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-concurrency

A library for encapsulating asynchronous operations and managing concurrency for Vue + Composition API


Version published
Weekly downloads
2.2K
increased by0.78%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

🚦 vue-concurrency

Test Coverage gzip size npm

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 AbortSignal to abort XHR/Fetch requests
  • Derived reactive state to track status of async operations: isRunning, isIdle, isFinished, isCancelled and more
  • Concurrency management: drop(), restartable(), enqueue() and other tasks
  • SSR support (experimental)

Installation

Demos

License

MIT

Keywords

FAQs

Last updated on 23 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc