getOrTryPut

suspend fun <V, F> CacheTransaction<V>.getOrTryPut(key: String, defaultValue: suspend () -> Try<V, F>): Try<V, F>

Gets the current cached value for the given key or creates and caches a new one.