Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function queueHandle(srcarr, distarr, handler) {
if (srcarr.length) {
var m = members.shift();
util.reqUserInfo(m.member, function (userinfo) {
userinfo.IsLock = true;
distarr.push(userinfo);
queueHandle(srcarr, distarr, handler);
})
} else {
handler(selected);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.