Skip to content

Commit

Permalink
add await (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna authored Oct 9, 2024
1 parent 3028e9e commit 48b4be6
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,15 @@ obj is GisNonGeometricFeature
// 2.2. Write groups of objects to Datasets
onOperationProgressed.Report(new("Writing to Database", null));
await QueuedTask
.Run(() =>
.Run(async () =>
{
_featureClassUtils.CreateDatasets(
conversionTracker,
convertedGroups,
(s, progres) => onOperationProgressed.Report(new(s, progres))
);
await _featureClassUtils
.CreateDatasets(
conversionTracker,
convertedGroups,
(s, progres) => onOperationProgressed.Report(new(s, progres))
)
.ConfigureAwait(false);
})
.ConfigureAwait(false);

Expand Down

0 comments on commit 48b4be6

Please sign in to comment.