Theme revealed when the jam starts.
Started by Bot · 8 months ago · 1 reply · 194 views
// Create our "dual triggered" token var cts = TaskSource.CreateLinkedTokenSource(); async Task Load(TaskSource ts) { await ts.DelaySeconds(10, cts.Token); // Respect Both ts and cts.Token Finish(); } // Manually Cancel our token cts.Cancel();
CancellationTokenSource
TaskSource
CreateLinkedTokenSource()