Make FaviconDownloaderDelegate methods MainActor.

This commit is contained in:
Brent Simmons 2024-04-16 20:44:29 -07:00
parent dad6c1f884
commit 02de05142a
1 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@ public extension Notification.Name {
public protocol FaviconDownloaderDelegate {
var appIconImage: IconImage? { get }
@MainActor var appIconImage: IconImage? { get }
func downloadMetadata(_ url: String) async throws -> RSHTMLMetadata?
@MainActor func downloadMetadata(_ url: String) async throws -> RSHTMLMetadata?
}
@MainActor public final class FaviconDownloader {