ReturnCacheDataIfNotExpiredElseLoad

Return cached data if it is not older than maxAgeMillis, otherwise load from the backend.

Parameters

maxAgeMillis

Maximum age in milliseconds for cached data to be considered valid.

Constructors

Link copied to clipboard
constructor(maxAgeMillis: Long)

Properties

Link copied to clipboard