queryStatisticsCancelable method
- {required StatisticsQueryParameters statisticsQueryParameters}
Cancelable version of queryStatistics. See that method for more information.
Implementation
CancelableOperation<StatisticsQueryResult> queryStatisticsCancelable(
{required StatisticsQueryParameters statisticsQueryParameters}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_FeatureTable_queryStatistics(
_handle, statisticsQueryParameters._handle, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsStatisticsQueryResult()!);
}