SwiftprotocolAppStoreKit

protocol AppStoreKit.Cache

Members 6

  1. associatedtypeassociatedtype Key
  2. associatedtypeassociatedtype Value
  3. funcmethod descriptor for removeAll() -> ()
  4. funcmethod descriptor for removeValue(forKey: A.Key) -> ()
  5. initmethod descriptor for init() -> A
  6. subscriptmethod descriptor for subscript.getter : (A.Key) -> A.Value?
protocol Cache {
    associatedtype Key
    associatedtype Value

    init()

    func removeValue(forKey: Self.Key)
    func removeAll()

    subscript(_: Self.Key) -> Self.Value? {
        get
        set
    }
}