Kotlin Wrappers API Reference
Toggle table of contents
js
Platform filter
js
Switch theme
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
)