ktor-server-di
Toggle table of contents
3.5.1
common
Target filter
common
Switch theme
Search in API
Skip to content
ktor-server-di
ktor-server-di
/
io.ktor.server.plugins.di
/
DependencyRegistry
/
cleanup
cleanup
inline
fun
<
T
>
cleanup
(
name
:
String
?
=
null
,
noinline
cleanup
:
(
T
)
->
Unit
)
:
DependencyRegistry.KeyContext
<
T
>
(
source
)
fun
cleanup
(
key
:
DependencyKey
,
cleanup
:
(
Any
?
)
->
Unit
)
(
source
)