MCPcopy Index your code
hub / github.com/mike-marcacci/node-redlock / cb

Function cb

test.js:28–28  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

26 before(function(done) {
27 var err;
28 var l = clients.length; function cb(e){ if(e) err = e; l--; if(l === 0) done(err); }
29 for (var i = clients.length - 1; i >= 0; i--) {
30 clients[i].sadd(error, 'having a set here should cause a failure', cb);
31 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected