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