korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-io
/
korlibs.io.async
/
AsyncInmemoryCache
/
get
get
fun
<
T
:
Any
>
get
(
clazz
:
KClass
<
T
>
,
key
:
String
,
ttl
:
Duration
)
:
AsyncInmemoryEntry
<
T
>
suspend
fun
<
T
>
get
(
key
:
String
,
ttl
:
Duration
,
gen
:
suspend
(
)
->
T
)
:
T