We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3e595b commit 71897ceCopy full SHA for 71897ce
Source/Shared/Storage/StorageAware.swift
@@ -45,7 +45,7 @@ public protocol StorageAware {
45
Clears all expired objects.
46
*/
47
func removeExpiredObjects() throws
48
-
+
49
/**
50
Check if an expired object by the given key.
51
- Parameter key: Unique key to identify the object.
@@ -66,7 +66,7 @@ public extension StorageAware {
66
return false
67
}
68
69
70
func isExpiredObject<T: Codable>(ofType type: T.Type, forKey key: String) throws -> Bool {
71
do {
72
let entry = try self.entry(ofType: type, forKey: key)
0 commit comments