suparnatural-cache / com.suparnatural.core.cache / CacheStore / persistObject

persistObject

abstract fun <T : Cacheable> persistObject(obj: T): Unit

Persists a Cacheable obj to the store. Uses a background worker if blocking is false.

Parameters

T - the type of object being persisted.