cache
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
cache
map
/
dev.kord.cache.map
/
MapLikeCollection
/
Companion
/
fromThreadSafe
from
Thread
Safe
fun
<
KEY
,
VALUE
:
Any
>
fromThreadSafe
(
map
:
MutableMap
<
KEY
,
VALUE
>
)
:
MapLikeCollection
<
KEY
,
VALUE
>
Wraps the
map
in a
MapLikeCollection
, this assumes that the
map
can safely be accessed concurrently.