async method lacks 'await' operators and will run synchronously #78
Unanswered
patagoniahiker
asked this question in
Q&A
Replies: 1 comment
-
Thanks for raising this. This warning is intentional, it's up to you to fill in that method (most likely using an await statement somewhere) and then the warning will go away. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
1>c:\RehanBoiler\StudentsSample_V2\Services\Feed\FeedService.cs(181,51,181,59): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Beta Was this translation helpful? Give feedback.
All reactions