toggle menu
cache
common
switch theme
search in API
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.