Example #1
0
        public override Task <bool> ReadAsync(CancellationToken cancellationToken)
        {
            if (cancellationToken.IsCancellationRequested)
            {
                throw new TaskCanceledException();
            }

            return(resultSet.NextAsync());
        }