ExecuteAsync not awaited #1036
flower7434
started this conversation in
General
Replies: 1 comment
-
Good question. Awaiting a call comes at a very small additional cost to performance. You can avoid this by returning a task instead. However, this also has a downside in that if an exception is thrown, the stack trace will be affected and contain a missing line. |
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
-
Why are the calls to command.ExecuteAsync not awaited in CarsController?
Beta Was this translation helpful? Give feedback.
All reactions