queryFeatureCountCancelable method
- {required QueryParameters queryParameters}
Cancelable version of queryFeatureCount. See that method for more information.
Implementation
CancelableOperation<int> queryFeatureCountCancelable(
{required QueryParameters queryParameters}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_FeatureTable_queryFeatureCount(
_handle, queryParameters._handle, errorHandler);
});
return taskHandle
.toCancelableOperation((element) => element.getValueAsInt()!);
}