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

for await...ofについての記述を追加 #347

Open
munierujp opened this issue Mar 31, 2020 · 4 comments
Open

for await...ofについての記述を追加 #347

munierujp opened this issue Mar 31, 2020 · 4 comments
Labels
help wanted Extra attention is needed Status: Proposal Request for comments

Comments

@munierujp
Copy link
Contributor

munierujp commented Mar 31, 2020

複数のPromiseを処理する方法の一つとして、for await...ofについての記述を追加してほしいです。

参考リンク

@azu azu added Status: Proposal Request for comments help wanted Extra attention is needed labels Mar 31, 2020
@azu
Copy link
Owner

azu commented Mar 31, 2020

まずGeneratorの解説から必要なやつですね。

ユースケースとしてはクローラーとか状態を持った非同期処理の逐次処理がありますね #289

@azu
Copy link
Owner

azu commented Feb 18, 2021

async generatorを使ったwatchの例。

@azu
Copy link
Owner

azu commented Feb 18, 2021

@munierujp
Copy link
Contributor Author

for await...ofの使用が前提となっているライブラリの例

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Status: Proposal Request for comments
Projects
None yet
Development

No branches or pull requests

2 participants