Beispiel #1
0
        private void Start()
        {
            tokenSource = new CancellationTokenSource();

            var token = tokenSource.Token;

            source.ExecuteAsync(token);
        }
Beispiel #2
0
 private async Task Start()
 {
     await source.ExecuteAsync(new CancellationToken(false));
 }