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

docs: Fixed asynchronous error in NewsService list method by adding 'async' and 'await' #5301

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

fainat
Copy link
Contributor

@fainat fainat commented Mar 6, 2024

This commit fixed an asynchronous error in the NewsService list method. I added the 'async' keyword and used 'await' to fetch data in each iteration. This ensures that the NewsService class can fetch news data from the Hacker News API efficiently and without errors.

… and 'await'.

This commit fixed an asynchronous error in the NewsService list method. I added the 'async' keyword and used 'await' to fetch data in each iteration. This ensures that the NewsService class can fetch news data from the Hacker News API efficiently and without errors.
@fengmk2 fengmk2 changed the title Fixed asynchronous error in NewsService list method by adding 'async' and 'await' docs: Fixed asynchronous error in NewsService list method by adding 'async' and 'await' Mar 6, 2024
@fengmk2 fengmk2 merged commit 84b162f into eggjs:master Mar 6, 2024
18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants