effector-queue
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

☄️ Effector Queue

Library for sequential effect execution.

This library allows you to make the effects run one after the other, rather than simultaneously. The next one will be executed only after the previous one is finished.

Installation

npm install --save effector-queue@latest

Usage

To create a queue, use the createQueue method. It returns a constructor that returns the effects. Effects created in this way will not execute at the same time.

const [createQueueEffect] = createQueue()

const firstFx = createQueueEffect(firstRequest)
const secondFx = createQueueEffect(secondRequest)
const thirdFx = createQueueEffect(thirdRequest)

Readme

Keywords

Package Sidebar

Install

npm i effector-queue

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

6.07 kB

Total Files

6

Last publish

Collaborators

  • mishamyrt