toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-react-core
/
react.internal
/
createCleanupCallback
create
Cleanup
Callback
fun
createCleanupCallback
(
block
:
suspend
CoroutineScope
.
(
)
->
Unit
)
:
(
)
->
Cleanup
(
source
)
fun
<
T
>
createCleanupCallback
(
block
:
suspend
CoroutineScope
.
(
T
)
->
Unit
)
:
(
T
)
->
Cleanup
(
source
)