RecomposerInfo

  • Common/All
  • Android/JVM

Read-only information about a Recomposer. Used when code should only monitor the activity of a Recomposer, and not attempt to alter its state or create new compositions from it.

Summary

Public properties

Long

The running count of the number of times the Recomposer awoke and applied changes to one or more Composers.

Cmn
Boolean

true if the Recomposer has been assigned work to do and it is currently performing that work or awaiting an opportunity to do so.

Cmn
Flow<Recomposer.State>

The current State of the Recomposer.

Cmn

Public properties

changeCount

val changeCountLong

The running count of the number of times the Recomposer awoke and applied changes to one or more Composers. This count is unaffected if the composer awakes and recomposed but composition did not produce changes to apply.

hasPendingWork

val hasPendingWorkBoolean

true if the Recomposer has been assigned work to do and it is currently performing that work or awaiting an opportunity to do so.

state

val stateFlow<Recomposer.State>

The current State of the Recomposer. See each State value for its meaning.