Exemplo n.º 1
0
        private void Start()
        {
            tokenSource = new CancellationTokenSource();

            var token = tokenSource.Token;

            source.ExecuteAsync(token);
        }
Exemplo n.º 2
0
 private async Task Start()
 {
     await source.ExecuteAsync(new CancellationToken(false));
 }