/// <summary> /// Syncs information from the LoopTimer to the TimerViewModel. /// These changes are automatically communicated to the UI. /// </summary> private async void Sync(object sender, EventArgs e) { await Task.Run(() => { CurrentTask = lt.GetTask(); Progress = lt.GetProgress(); }); }