Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@ovos-media/simple-promise-queue

Package Overview
Dependencies
Maintainers
13
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ovos-media/simple-promise-queue

A simple promise queue helper with concurrency settings.

latest
Source
npmnpm
Version
1.0.12
Version published
Maintainers
13
Created
Source

npm (scoped) Travis branch

simple-promise-queue

easily make your async functions queueable!

import queueable from '@ovos-media/simple-promise-queue';

// just wrap your function to control execution sequence!
const queueableAsyncFunction = queueable(
  asyncFunction, 
  { concurrency: 1 }
);

// or as a decorator!
@queueable async function() {
  return request(...);
}

Maintainers

@flipace, @unhawkable

ovos media gmbh, @ovos, Visit us!

License

MIT

FAQs

Package last updated on 08 Sep 2020

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