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

persistObject

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

Overrides CacheStore.persistObject

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

Parameters

T - the type of object being persisted.