Package androidx. compose. runtime. dispatch
Types
AndroidUiDispatcher
Link copied to clipboard
A CoroutineDispatcher that will perform dispatch during a handler callback or choreographer's animation frame stage, whichever comes first.
AndroidUiFrameClock
Link copied to clipboard
BroadcastFrameClock
Link copied to clipboard
class BroadcastFrameClock(onNewAwaiters: () -> Unit?) : MonotonicFrameClock
Content copied to clipboard
MonotonicFrameClock
Link copied to clipboard
Functions
withFrameMillis
Link copied to clipboard
suspend fun <R> withFrameMillis(onFrame: (frameTimeMillis: Long) -> R): R
Content copied to clipboard
inline suspend fun <R> MonotonicFrameClock.withFrameMillis(crossinline onFrame: (frameTimeMillis: Long) -> R): R
Content copied to clipboard
withFrameNanos
Link copied to clipboard
Properties
DefaultMonotonicFrameClock
Link copied to clipboard
DefaultMonotonicFrameClock
Link copied to clipboard
The MonotonicFrameClock used by withFrameNanos and withFrameMillis if one is not present in the calling kotlin.coroutines.CoroutineContext.