New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

17

package.json
{
"name": "effector-queue",
"version": "1.0.0",
"description": "",
"keywords": [],
"author": "",
"license": "ISC",
"version": "1.0.1",
"description": "Library for sequential effect execution",
"type": "module",
"keywords": [
"effector",
"mutex"
],
"author": "mishamyrt",
"license": "MIT",
"devDependencies": {

@@ -25,4 +29,3 @@ "@types/node": "^20.11.25",

},
"main": "dist/effector-queue.cjs.js",
"module": "dist/effector-queue.es.js",
"main": "dist/effector-queue.main.js",
"types": "dist/effector-queue.d.ts",

@@ -29,0 +32,0 @@ "files": [

@@ -6,4 +6,7 @@ <p align="center">

<a href="https://github.com/mishamyrt/effector-queue/actions/workflows/quality-assurance.yaml">
<img src="https://github.com/mishamyrt/effector-queue/actions/workflows/quality-assurance.yaml/badge.svg" />
<img src="https://github.com/mishamyrt/effector-queue/actions/workflows/quality-assurance.yaml/badge.svg" />
</a>
<a href="https://www.npmjs.com/package/effector-queue">
<img src="https://img.shields.io/npm/v/effector-queue" />
</a>
</p>

@@ -17,3 +20,15 @@ </p>

```sh
pnpm add
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.
```ts
const [createQueueEffect] = createQueue()
const firstFx = createQueueEffect(firstRequest)
const secondFx = createQueueEffect(secondRequest)
const thirdFx = createQueueEffect(thirdRequest)
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc