예제 #1
0
        public async Task Restore(IEnumerable <IEventData> events)
        {
            await storage.Prune();

            Position = 0;

            foreach (var e in events)
            {
                await ProcessEvent(e);
            }
        }