ExpirationExtending
public enum ExpirationExtending
Represents the expiration extending strategy used in storage to after access.
- none: The item expires after the original time, without extending after access.
- cacheTime: The item expiration extends by the original cache time after each access.
- expirationTime: The item expiration extends by the provided time after each access.
-
The item expires after the original time, without extending after access.
Declaration
Swift
case none
-
The item expiration extends by the original cache time after each access.
Declaration
Swift
case cacheTime
-
The item expiration extends by the provided time after each access.
Declaration
Swift
case expirationTime(_: StorageExpiration)