Exemple #1
0
        private static async Task RebuildAsync()
        {
            Console.WriteLine("Rebuilding projections...");
            var timer = new Stopwatch();

            timer.Start();

            await _store.RebuildAsync().ConfigureAwait(false);

            timer.Stop();
            Console.WriteLine("Rebuild time: " + timer.Elapsed);
        }