Replies: 1 comment 2 replies
-
@xcaptain this is a .NET/C# thing and not .NET MAUI... You can't have async event handlers, so because of that you need to use |
Beta Was this translation helpful? Give feedback.
2 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.
-
I'm learning maui, I found that for event handlers, the function signature is
async void
, for example:I think
async void
is harmful, because the caller can't catch exceptions in it, why not useasync Task
?Beta Was this translation helpful? Give feedback.
All reactions