importDeltaCancelable static method
- {required Geodatabase geodatabase,
- required Uri inputUri}
Cancelable version of importDelta. See that method for more information.
Implementation
static CancelableOperation<List<SyncLayerResult>> importDeltaCancelable(
{required Geodatabase geodatabase, required Uri inputUri}) {
_initializeArcGISEnvironmentIfNeeded();
final coreInputUri = _CString(inputUri.toFilePath());
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeodatabaseSyncTask_importDeltaAsync(
geodatabase._handle, coreInputUri.bytes, errorHandler);
});
return taskHandle
.toCancelableOperation((element) => element.getValueAsList()!);
}