toggle menu
ktor
2.3.12
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jsAndWasmShared
switch theme
search in API
ktor-utils
/
io.ktor.util
/
AttributesJs
/
computeIfAbsent
compute
If
Absent
jsAndWasmShared
open
override
fun
<
T
:
Any
>
computeIfAbsent
(
key
:
AttributeKey
<
T
>
,
block
:
(
)
->
T
)
:
T
Gets a value of the attribute for the specified
key
, or calls supplied
block
to compute its value