Beispiel #1
0
 private static async Task FetchAllASyncInternal(Action <int, int> progress,
                                                 Action <IEnumerable <ItemDefinition> > result,
                                                 CancellationToken token = default)
 {
     try
     {
         await m_mongoDatabase.FetchAllASync(progress, result, token);
     }
     catch (OperationCanceledException)
     {
         Debug.LogError("Fetching Items was cancelled.");
     }
 }