MCPcopy
hub / github.com/louischatriot/nedb / next

Function next

browser-version/out/nedb.js:3956–3965  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3954 }
3955 workers += 1;
3956 var next = function () {
3957 workers -= 1;
3958 if (task.callback) {
3959 task.callback.apply(task, arguments);
3960 }
3961 if (q.drain && q.tasks.length + workers === 0) {
3962 q.drain();
3963 }
3964 q.process();
3965 };
3966 var cb = only_once(next);
3967 worker(task.data, cb);
3968 }

Callers 1

nedb.jsFile · 0.70

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…