in Amazon.QLDB.Driver/result/generic/AsyncResult.cs [57:71]
public IAsyncEnumerator<T> GetAsyncEnumerator(CancellationToken cancellationToken = default)
{
if (this.isRetrieved)
{
throw new InvalidOperationException();
}
this.isRetrieved = true;
if (cancellationToken != default)
{
this.ionEnumerator.CancellationToken = cancellationToken;
}
return this.ionEnumerator;
}