Yet another asynchronous helper library for JavaScript. 554 bytes!
JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 153 commits behind d3:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.npmignore
LICENSE
Makefile
README.md
package.json
queue.js
queue.min.js

README.md

Original code from Mike Bostock (https://github.com/mbostock/queue).

Only change is that you can add more than one callback with queue.await and queue.awaitAll and all will be executed after all defered functions finished. However this means that reusing a queue is a bit harder as all those callbacks will live within that queue. Maybe adding a reset() function would be a good idea.