Created
September 21, 2016 01:45
-
-
Save UncleBill/88732304ad152b837e35ce918193c73c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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