public Task <IFeedResponse <PartitionKeyRange> > ReadPartitionKeyRangeFeedAsync(string partitionKeyRangesOrCollectionLink, FeedOptions options)
 {
     return(_meter.MeasureAsync(
                "ReadPartitionKeyRangeFeedAsync",
                options.PartitionKeyRangeId,
                async() => await _inner.ReadPartitionKeyRangeFeedAsync(partitionKeyRangesOrCollectionLink, options)));
 }
예제 #2
0
 public Task <IFeedResponse <TResult> > ExecuteNextAsync <TResult>(CancellationToken token = new CancellationToken())
 {
     return(_meter.MeasureAsync(
                "ExecuteNextAsync",
                _partitionRangeId,
                async() => await _inner.ExecuteNextAsync <TResult>(token)
                ));
 }