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

persistObject

fun <T : Cacheable> persistObject(input: <ERROR CLASS><T, <ERROR CLASS>, List<CacheStorePreprocessor<Cacheable, Cacheable, Cacheable>>?>, task: (<ERROR CLASS><T, <ERROR CLASS>, List<CacheStorePreprocessor<Cacheable, Cacheable, Cacheable>>?>) -> Unit): Unit

Adds an object by blocking the calling thread.

Parameters

T - the type of object being persisted.