StorageDelegate

constructor(delegate: Storage<T>, cacheStrategy: CacheStrategy = CacheStrategy.NO_CACHE)

Parameters

T

The type of the object to be stored.

delegate

The repository to delegate the operations to.

cacheStrategy

The strategy for caching the item in memory.