You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

effector-queue

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

effector-queue

Library for sequential effect execution

1.0.1
npmnpm
Version published
Maintainers
1
Created
Source

☄️ 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)

Keywords

effector

FAQs

Package last updated on 10 Mar 2024

Did you know?

Socket

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