Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JS异步之Async #1

@yygmind

Description

@yygmind

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

题目

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions