DefaultMonotonicFrameClock

Property

Common

Deprecated MonotonicFrameClocks are not globally applicable across platforms. Use an appropriate local clock.

public expect val DefaultMonotonicFrameClock: MonotonicFrameClock

The MonotonicFrameClock used by withFrameNanos and withFrameMillis if one is not present in the calling kotlin.coroutines.CoroutineContext.

This value is no longer used by compose runtime.

Desktop

Deprecated MonotonicFrameClocks are not globally applicable across platforms. Use an appropriate local clock.

public actual val DefaultMonotonicFrameClock: MonotonicFrameClock
WasmJs

Deprecated MonotonicFrameClocks are not globally applicable across platforms. Use an appropriate local clock.

public actual val DefaultMonotonicFrameClock: MonotonicFrameClock

The MonotonicFrameClock used by withFrameNanos and withFrameMillis if one is not present in the calling kotlin.coroutines.CoroutineContext.

This value is no longer used by compose runtime.

Native

Deprecated MonotonicFrameClocks are not globally applicable across platforms. Use an appropriate local clock.

public actual val DefaultMonotonicFrameClock: MonotonicFrameClock

The MonotonicFrameClock used by withFrameNanos and withFrameMillis if one is not present in the calling kotlin.coroutines.CoroutineContext.

This value is no longer used by compose runtime.

Android

Deprecated MonotonicFrameClocks are not globally applicable across platforms. Use an appropriate local clock.

public actual val DefaultMonotonicFrameClock: MonotonicFrameClock
Js

Deprecated MonotonicFrameClocks are not globally applicable across platforms. Use an appropriate local clock.

public actual val DefaultMonotonicFrameClock: MonotonicFrameClock

The MonotonicFrameClock used by withFrameNanos and withFrameMillis if one is not present in the calling kotlin.coroutines.CoroutineContext.

This value is no longer used by compose runtime.