mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Mark HTMLMetadata as Sendable.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
public final class HTMLMetadata {
|
||||
public final class HTMLMetadata: Sendable {
|
||||
|
||||
public let baseURLString: String
|
||||
public let tags: [HTMLTag]
|
||||
|
||||
@@ -10,8 +10,6 @@ import Foundation
|
||||
import Web
|
||||
import Parser
|
||||
|
||||
extension HTMLMetadata: @unchecked Sendable {}
|
||||
|
||||
struct HTMLMetadataDownloader {
|
||||
|
||||
@MainActor static func downloadMetadata(for url: String) async -> HTMLMetadata? {
|
||||
|
||||
Reference in New Issue
Block a user