首页
目录
View on GitHub
the Leancloud framework G
_
assignPath.html
deepExtend.html
escapeRegExp.html
datetime
delta
days.html
is_same_day.html
display
hm.html
hms.html
md.html
ym.html
ymd.html
ymdhm.html
ymdhms.html
move
to_midnight.html
to_month_end.html
to_month_start.html
to_next_midnight.html
to_next_month.html
to_tomorrow.html
parse.html
debug
errorToString.html
fs
basename.html
hack
Function
inject.html
registerPrototype.html
hash
md5.html
md5_file.html
html
DataTableQuery.html
default_template.html
uglify.html
mongo
objectId.html
net
getAvServer.html
request.html
random
ControlledRoller.html
util
arrayForEachSync.html
findAll.html
findEachChunk.html
pager_apply.html
queryForEach.html
queryForEachSync.html
<目录
queryForEach(query, once, cb)
循环query,每次请求once个结果,【同时】对每一个结果调用cb
如果cb返回了thenable,则等所有的thenable都结束(不论成功还是失败),再继续请求
返回Promise,所有数据都遍历过,并都调用了cb并结束后,resolve