We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
protected override async void OnReceived(byte[] buffer, long offset, long size) { base.OnReceived(buffer, offset, size); }
Should I set async for base method?
The text was updated successfully, but these errors were encountered:
No. Never do async void
If you don’t even get the task back. You have no way of knowing when the function’s task has completed. —— Crash course in async and await | The Old New Thing
https://learn.microsoft.com/en-us/archive/msdn-magazine/2013/march/async-await-best-practices-in-asynchronous-programming
Sorry, something went wrong.
No branches or pull requests
Should I set async for base method?
The text was updated successfully, but these errors were encountered: