Merge pull request #16604 from peppy/less-async-import

Remove `Task` from the inner-most `Import` method in `RealmArchiveModelImporter`
This commit is contained in:
Dan Balasescu
2022-01-25 16:47:07 +09:00
committed by GitHub
21 changed files with 57 additions and 62 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Game.Database
/// <param name="archive">An optional archive to use for model population.</param>
/// <param name="lowPriority">Whether this is a low priority import.</param>
/// <param name="cancellationToken">An optional cancellation token.</param>
Task<ILive<TModel>?> Import(TModel item, ArchiveReader? archive = null, bool lowPriority = false, CancellationToken cancellationToken = default);
ILive<TModel>? Import(TModel item, ArchiveReader? archive = null, bool lowPriority = false, CancellationToken cancellationToken = default);
/// <summary>
/// A user displayable name for the model type associated with this manager.