CacheProtocol
public protocol CacheProtocol
Undocumented
-
Undocumented
Declaration
Swift
associatedtype Element : NSCoding
-
Undocumented
Declaration
Swift
func get(key: String, completion: @escaping ((Element?) -> Void))
-
Undocumented
Declaration
Swift
func set(key: String, value: Element, expiration: TimeInterval?, completion: (() -> Void)?)
-
Undocumented
Declaration
Swift
func set(key: String, value: Element, completion: (() -> Void)?)
-
Undocumented
Declaration
Swift
func remove(key: String, completion: (() -> Void)?)
-
Undocumented
Declaration
Swift
func removeAll(completion: (() -> Void)?)
-
Undocumented
Declaration
Swift
subscript(key: String) -> Element? { get set }