AsyncInmemoryEntry

class AsyncInmemoryEntry<T : Any>(val clazz: KClass<T>, val cache: AsyncInmemoryCache, val key: String, val ttl: TimeSpan)

Constructors

Link copied to clipboard
constructor(clazz: KClass<T>, cache: AsyncInmemoryCache, key: String, ttl: TimeSpan)

Properties

Link copied to clipboard
Link copied to clipboard
val clazz: KClass<T>
Link copied to clipboard
val key: String
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun get(routine: suspend () -> T): T