Skip to content
Proyectos

Acerca de

Biblioteca para encapsular operaciones asíncronas y gestionar la concurrencia en Vue y Composition API.

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

What you can do

  • Vue 3.3+ (Version === 5.x)✅
  • Vue 2.7 & 3.2 (Version === 4.x)✅
  • Vue 2 + @vue/composition-api (Version < 4.x) ✅
  • TypeScript support

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

🚦 vue-concurrency

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

Explorar proyectos relacionados

Cargando…