recomposeAndApplyChanges

suspend fun recomposeAndApplyChanges(frameCount: Long)

Await the invalidation of any associated Composers, recompose them, and apply their changes to their associated Compositions if recomposition is successful.

While runRecomposeAndApplyChanges is running, awaitIdle will suspend until there are no more invalid composers awaiting recomposition.

This method returns after recomposing frameCount times, or throws CancellationException if the Recomposer is shutDown or if the effectCoroutineContext used to construct the Recomposer is cancelled.