Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

心智负担 #1

Open
1uokun opened this issue Jun 1, 2023 · 0 comments
Open

心智负担 #1

1uokun opened this issue Jun 1, 2023 · 0 comments

Comments

@1uokun
Copy link
Member

1uokun commented Jun 1, 2023

有时候会纠结到底要不要加.catch后缀,这也是一种心智负担

async/await 也存在传染性,就是如果内部函数是async,那么外部原来的同步函数也要变成async

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant