using System.Threading.Tasks; namespace Wino.Core.Domain.Interfaces; public interface IThumbnailService { /// /// Clears the thumbnail cache. /// Task ClearCache(); /// /// Gets thumbnail /// /// Address for thumbnail /// Force to wait for thumbnail loading. /// Should be used in non-UI threads or where delay is acceptable /// ValueTask GetThumbnailAsync(string email, bool awaitLoad = false); }