1.4.16 • Published 6 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
7 months ago
1.4.4
7 months ago
1.4.3
7 months ago
1.4.2
7 months ago
1.4.1
7 months ago
1.4.0
7 months ago
1.3.0
7 months ago
1.4.9
7 months ago
1.4.11
6 months ago
1.4.8
7 months ago
1.4.10
7 months ago
1.4.7
7 months ago
1.4.13
6 months ago
1.4.12
6 months ago
1.4.15
6 months ago
1.4.14
6 months ago
1.4.16
6 months ago
1.2.1
1 year ago
1.2.0
1 year 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
5 years ago
1.0.1
5 years ago
1.0.0
6 years ago