“”后面的文字被忽略,搜狗的查询限制在40个汉字以内。
搜狗已为您找到约1条相关结果
找到约1条结果
1年前 - async/await的出现最初大家写请求是这样写的:res=http.get("a.com")res=http.get("b.com")这样顺序执行,请求速度很慢.于是有人写了线程池,支持并行发请求,api是callback风格:http.get("a.com",function(err,res){//xxx})http.get("b.com",function(err,res)...