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)
{
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ywait

      Weekly Downloads

      0

      Version

      0.1.0

      License

      none

      Last publish

      Collaborators

      • laktak