deleteFeaturesCancelable method

CancelableOperation<void> deleteFeaturesCancelable(
  1. List<Feature> features
)

Cancelable version of deleteFeatures. See that method for more information.

Implementation

CancelableOperation<void> deleteFeaturesCancelable(List<Feature> features) {
  final coreFeatures =
      features.toMutableArray(valueType: _ElementType.feature);
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FeatureTable_deleteFeatures(
        _handle, coreFeatures._handle, errorHandler);
  });
  return taskHandle.toCancelableOperation((_) {});
}