useEffectWithCleanup

fun useEffectWithCleanup(vararg dependencies: Any?, effect: CleanupBuilder.() -> Unit)(source)

Only works inside fc

See also