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