×
+ All Categories
Log in
English
Français
Español
Deutsch
The top documents tagged [cpubound code]
Home >
cpubound code
Async void is only for top-level event handlers. Use TaskCompletionSource to wrap Tasks around events. Use the threadpool for CPU-bound code, but not.
221 views
Async void is only for top-level event handlers. Use the threadpool for CPU-bound code, but not IO-bound. Use TaskCompletionSource to wrap Tasks around.
217 views
Click async Task LoadSettingsAsync() { await IO.Network.DownloadAsync(path); } async void Button1_Click(){ await LoadSettingsAsync(); UpdateView();
253 views
Async best practices for C#/VB
58 views
Three Essential Tips for Using Async in Microsoft Visual C# and Visual Basic
86 views