mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Make .htmlMetadataAvailable Notification public.
This commit is contained in:
@@ -9,19 +9,19 @@ import Foundation
|
||||
import Core
|
||||
@preconcurrency import RSParser
|
||||
|
||||
extension Notification.Name {
|
||||
public extension Notification.Name {
|
||||
// Sent when HTMLMetadata is cached. Posted on any thread.
|
||||
static let htmlMetadataAvailable = Notification.Name("htmlMetadataAvailable")
|
||||
}
|
||||
|
||||
final class HTMLMetadataCache: Sendable {
|
||||
public final class HTMLMetadataCache: Sendable {
|
||||
|
||||
static let shared = HTMLMetadataCache()
|
||||
|
||||
// Sent along with .htmlMetadataAvailable notification
|
||||
struct UserInfoKey {
|
||||
static let htmlMetadata = "htmlMetadata"
|
||||
static let url = "url" // String value
|
||||
public struct UserInfoKey {
|
||||
public static let htmlMetadata = "htmlMetadata"
|
||||
public static let url = "url" // String value
|
||||
}
|
||||
|
||||
private struct HTMLMetadataCacheRecord: CacheRecord {
|
||||
|
||||
Reference in New Issue
Block a user