OffScreenEffect

@Composable
inline fun OffScreenEffect(crossinline block: (isForeground: Boolean) -> Unit)