order
handle callbacks in order no matter which one finish first and handle them as a list.
install
npm install order
usage
Order = ; list = { // handle here ready elements idxbefore; // index of the previous element that is ready before idx.i idxi; // index of the element that got ready idxafter; // index of the next element that is ready after idx.i thisidxi; // the ready element}; list;
When calling done the callback given to the constructor gets called.