toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.async
/
AsyncInmemoryCache
/
get
get
fun
<
T
:
Any
>
get
(
clazz
:
KClass
<
T
>
,
key
:
String
,
ttl
:
TimeSpan
)
:
AsyncInmemoryEntry
<
T
>
suspend
fun
<
T
>
get
(
key
:
String
,
ttl
:
TimeSpan
,
gen
:
suspend
(
)
->
T
)
:
T