1.4.16 • Published 9 months ago
queue-cb v1.4.16
queue-cb
A scalable queue for parallel callbacks.
The API is similar to https://github.com/d3/d3-queue, but without accumulating results in memory.
var Queue = require('queue-cb);
function delayedHello(callback) {
setTimeout(function() {
console.log("Hello!");
callback(null);
}, 250);
}
var q = new Queue();
q.defer(delayedHello);
q.defer(delayedHello);
q.await(function(error) {
if (error) throw error;
console.log("Goodbye!");
});
Documentation
1.4.6
10 months ago
1.4.4
10 months ago
1.4.3
10 months ago
1.4.2
10 months ago
1.4.1
10 months ago
1.4.0
10 months ago
1.3.0
10 months ago
1.4.9
10 months ago
1.4.11
9 months ago
1.4.8
10 months ago
1.4.10
10 months ago
1.4.7
10 months ago
1.4.13
9 months ago
1.4.12
9 months ago
1.4.15
9 months ago
1.4.14
9 months ago
1.4.16
9 months ago
1.2.1
2 years ago
1.2.0
2 years ago
1.1.7
3 years ago
1.1.6
4 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
6 years ago
1.0.1
6 years ago
1.0.0
7 years ago