摘要:
https://segmentfault.com/a/1190000013666402 1. 基本流程 串行流程、并行流程、混合执行series, waterfall; parallel, parallelLimit; auto; 1.1. 串行流程 1.1.1. series(多个函数依次执行,之 阅读全文
posted @ 2020-09-05 11:41
酷酷的城池
阅读(644)
评论(0)
推荐(0)
摘要:
function getData(callback){ setTimeout(function(){ var name = 'xxxx'; callback(name); }, 1000); } // 外部获取异步方法里面的数据 采用回调函数的方式 getData(function(data){ c 阅读全文
posted @ 2020-09-05 10:09
酷酷的城池
阅读(339)
评论(0)
推荐(0)