queryExtentCancelable method

CancelableOperation<Envelope> queryExtentCancelable(
  1. {required QueryParameters queryParameters}
)

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

Implementation

CancelableOperation<Envelope> queryExtentCancelable(
    {required QueryParameters queryParameters}) {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FeatureTable_queryExtent(
        _handle, queryParameters._handle, errorHandler);
  });
  return taskHandle
      .toCancelableOperation((element) => element.getValueAsEnvelope()!);
}