1.0.2 • Published 3 months ago

effector-queue v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

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)
1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago