queryRelatedFeatureCountCancelable method
- {required ArcGISFeature feature,
- RelatedQueryParameters? parameters}
Cancelable version of queryRelatedFeatureCount. See that method for more information.
Implementation
CancelableOperation<int> queryRelatedFeatureCountCancelable(
{required ArcGISFeature feature, RelatedQueryParameters? parameters}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISFeatureTable_queryRelatedFeatureCountCombined(
_handle,
feature._handle,
parameters?._handle ?? ffi.nullptr,
errorHandler);
});
return taskHandle
.toCancelableOperation((element) => element.getValueAsInt()!);
}