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