Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pending-queue

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pending-queue - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "pending-queue",
"version": "1.1.0",
"version": "1.1.1",
"description": "pending-queue ensures a certain asynchronous method only run once, and queues listeners which are registered to it.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -64,2 +64,4 @@ [![Build Status](https://travis-ci.org/kaelzhang/node-pending-queue.svg?branch=master)](https://travis-ci.org/kaelzhang/node-pending-queue)

Returns `EventEmitter`, and `key` as the event name, so you can use `queue.listenerCount(key)` to see if there are pending tasks.
## add(...params)

@@ -66,0 +68,0 @@

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