Necessary Pigeonholing Mechanism
Wondering what’s next for npm?Check out our public roadmap! »

This package has been deprecated

Author message:

use promises instead

ywait

0.1.0 • Public • Published

ywait.js

ywait is an asynchronous utility library that provides functions to wait for the completion of callbacks.

Under development.

ywait.keys

var yw=ywait.keys("foo", "bar");

getBar(yw.bar);
queryFoo(1, 2, 3, yw.foo);

// waits for bar and foo to be called
yw.final(function(err, results)
{
});

ywait.parallel

(similar to async.js)

ywait.parallel(
[
  function(cb) { ... },
  function(cb) { ... }
], function(err, results)
{
});

Keywords

none

Install

npm i ywait

DownloadsWeekly Downloads

4

Version

0.1.0

License

none

Last publish

Collaborators

  • avatar