node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

barrier

Overview

var Barrier = require('barrier');

var b = new Barrier();

b.once(function() {
  // do some stuff
});


fs.doSomethingAsync(function () {
  b.complete();
});