getSelectedFeaturesCancelable method
Cancelable version of getSelectedFeatures. See that method for more information.
Implementation
CancelableOperation<FeatureQueryResult> getSelectedFeaturesCancelable() {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_FeatureLayer_getSelectedFeatures(
_handle, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsFeatureQueryResult()!);
}