Of late, I’ve seen multiple folks asking about how to use tasks to asynchronously execute a sequence of operations. For example, given three synchronous functions: public string DoA(string input); public string DoB(string aResult); public string DoC(string bResult); you could invoke these functions with code like...
We’re interested in adding support for scheduling
cancellation. For example: // Create a
token source that will Cancel() after a delay
var cts = new CancellationTokenSource(TimeSpan.FromMilliseconds(100));// And/or
schedule a Cancel() call
cts.CancelAfter(TimeSpan.FromMilliseconds(100));We’ve heard from many folks ...