suparnatural-cache / com.suparnatural.core.cache / CacheStoreNonBlockingWorker / 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 scheduling a task on the worker.

Parameters

T - the type of object being persisted.