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

ee-async

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-async - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

lib/waiter.js

2

lib/async.js

@@ -8,3 +8,3 @@

, chain: require('./chain')
, Counter: require('./Counter')
, waiter: require('./waiter')
};
{
"name" : "ee-async"
, "description" : "simpler control flow for asynchronous operations"
, "version" : "0.2.6"
, "version" : "0.2.7"
, "homepage" : "https://github.com/eventEmitter/ee-async"

@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

@@ -66,1 +66,10 @@ # ee-async

wait for several callbacks
var waiter = async.waiter(function(){
// both load events were fired
});
someAsyncApi.on('load', waiter());
anotherApi.on('load', waiter());

@@ -63,7 +63,7 @@

var counter = new async.Counter(function(){
var waiter = new async.waiter(function(){
});
counter.count()();
counter.count()();
waiter()();
waiter()();
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