Function

withInfiniteAnimationFrameMillis

Like [withFrameMillis], but applies the [InfiniteAnimationPolicy] from the calling [CoroutineContext] if there is one.

withInfiniteAnimationFrameMillis

Common
public suspend inline fun <R> withInfiniteAnimationFrameMillis(
    crossinline onFrame: (frameTimeMillis: Long) -> R
): R

Like withFrameMillis, but applies the InfiniteAnimationPolicy from the calling CoroutineContext if there is one.