yygmind/blog

JS异步之Async

yygmind opened this issue · 0 comments

要点:
1、await并不阻塞线程
2、async对异步错误处理是使用try/catch
3、使用Promise.all()可以将多个await操作并行

题目