toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.async
/
AsyncInmemoryEntry
Async
Inmemory
Entry
class
AsyncInmemoryEntry
<
T
:
Any
>
(
val
clazz
:
KClass
<
T
>
,
val
cache
:
AsyncInmemoryCache
,
val
key
:
String
,
val
ttl
:
TimeSpan
)
Members
Constructors
Async
Inmemory
Entry
Link copied to clipboard
constructor
(
clazz
:
KClass
<
T
>
,
cache
:
AsyncInmemoryCache
,
key
:
String
,
ttl
:
TimeSpan
)
Properties
cache
Link copied to clipboard
val
cache
:
AsyncInmemoryCache
clazz
Link copied to clipboard
val
clazz
:
KClass
<
T
>
key
Link copied to clipboard
val
key
:
String
ttl
Link copied to clipboard
val
ttl
:
TimeSpan
Functions
get
Link copied to clipboard
suspend
fun
get
(
routine
:
suspend
(
)
->
T
)
:
T