[False information] Documentation recommends to use async with void #2783
Unanswered
TeaTime762
asked this question in
General
Replies: 1 comment 3 replies
-
Commands are considered events and should be treated as such. This is why it's important to add proper error handling and don't let unhandled exceptions occur in your app. |
Beta Was this translation helpful? Give feedback.
3 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.
-
Description
As far as I know using async with void is bad because it does not catch exception then.
The documentation says in the chapter Commanding in the subsection "Implementing a Task-Based DelegateCommand" to use that.
What am I missing?
Steps to Reproduce
See documentation
Platform with bug
Prism Core
Affected platforms
I was not able test on other platforms
Did you find any workaround?
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions