Package-level declarations
Functions
Link copied to clipboard
fun <T> TickingValueProvider<T>.collectAsStateWithLifecycle(clock: ClockWrapper = SYSTEM_CLOCK.collectAsStateWithLifecycle().value, timeZone: TimeZone = SYSTEM_TIMEZONE.collectAsStateWithLifecycle().value, maxTick: Duration? = null): State<T>
Collects values from TickingValueProvider and represents its latest value via State in a lifecycle-aware manner.