newComposeFrameClock

fun newComposeFrameClock(scope: CoroutineScope, paused: Behavior<Boolean>): Event<Duration>(source)

Utility to get an every that fires for every frame in a Jetpack Compose application.

Each event consists of the Duration of the most recent frame.