Kingfisher Documentation

Enumeration Expiration​Extending

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.

Enumeration Cases

none

case none

The item expires after the original time, without extending after access.

cache​Time

case cacheTime

The item expiration extends by the original cache time after each access.

expiration​Time

case expirationTime(_ expiration: StorageExpiration) 

The item expiration extends by the provided time after each access.