Add basic base class to begin to standardise function across caching components

This commit is contained in:
Dean Herbert
2020-11-06 13:26:18 +09:00
parent 14bb079feb
commit 0103b12575
4 changed files with 28 additions and 19 deletions

View File

@ -37,7 +37,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
else
{
performanceCache.CalculatePerformanceAsync(score, cancellationTokenSource.Token)
.ContinueWith(t => Schedule(() => setPerformanceValue(t.Result)), cancellationTokenSource.Token);
.ContinueWith(t => Schedule(() => setPerformanceValue(t.Result)), cancellationTokenSource.Token);
}
}