setContentAndSnapshot

abstract fun setContentAndSnapshot(content: @Composable () -> Unit): S

A fused call which does both setContent and awaitSnapshot, but without sending a frame to the composition. The snapshot returned will always be the result of the synchronous recomposition of content.