This site requires javascript.
Android Code Search
file:androidx/compose/runtime/MonotonicFrameClock.kt function:withFrameMillis
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/
MonotonicFrameClock.kt
content_copy
Preview
62:
63:
64:
@Suppress(
"UnnecessaryLambdaCreation"
)
suspend
inline
fun
<R> MonotonicFrameClock.
withFrameMillis
(
crossinline
onFrame: (frameTimeMillis: Long) -> R
103:
104:
105:
@OptIn(ExperimentalComposeApi::
class
)
suspend
fun
<R>
withFrameMillis
(onFrame: (frameTimeMillis: Long) -> R): R =
coroutineContext.monotonicFrameClock.withFrameMillis(onFrame)
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Open branch androidx-main
Help