awaitFrame

suspend fun awaitFrame(): Long(source)

Awaits the next animation frame and returns frame time in nanoseconds.