exportDeltaCancelable static method
- {required Geodatabase geodatabase,
- required Uri outputUri}
Cancelable version of exportDelta. See that method for more information.
Implementation
static CancelableOperation<bool> exportDeltaCancelable(
{required Geodatabase geodatabase, required Uri outputUri}) {
_initializeArcGISEnvironmentIfNeeded();
final coreOutputUri = _CString(outputUri.toFilePath());
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeodatabaseSyncTask_exportDeltaAsync(
geodatabase._handle, coreOutputUri.bytes, errorHandler);
});
return taskHandle
.toCancelableOperation((element) => element.getValueAsBool()!);
}