Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A very simple implementation of Barrier as a coordination primitive
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
README.md
package.json

README.md

build status

Overview

var Barrier = require('barrier');

var b = new Barrier();

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


fs.doSomethingAsync(function () {
  b.complete();
});
Something went wrong with that request. Please try again.