Download presentation
Presentation is loading. Please wait.
Published byFrank Washington Modified over 9 years ago
3
var data = DownloadData(...); ProcessData(data); var future = DownloadDataAsync(...); future.ContinueWith(data => ProcessData(data));
4
var data = DownloadData(...); ProcessData(data); var future = DownloadDataAsync(...); future.ContinueWith(data => ProcessData(data));
13
Yielding control await Task.Delay(5000); await Task.Yield(); Background running var result = await Task.Run(() => { … work … }); Parallel composition Task first = await Task.WhenAny(task1, task2); var results = await Task.WhenAll(task1, task2);
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.