tock / ai.tock.shared.cache / getFromCache

getFromCache

fun <T : Any> getFromCache(id: Id<T>, type: String): T? (source)

Returns the value for specified id and type. If no value exists, null is returned.