useTimestampRef

fun useTimestampRef(optionsOf: TimestampOptions.() -> Unit, autoResume: Boolean = true): Tuple4<Ref<Long>, PauseFn, ResumeFn, IsActive>


fun useTimestampRef(options: TimestampOptions = remember { TimestampOptions() }, autoResume: Boolean = true): Tuple4<Ref<Long>, PauseFn, ResumeFn, IsActive>

Deprecated

Please use the performance-optimized version. Do not pass the Options instance directly. You can simply switch by adding `=` after the `optionsOf` function. If you need to use an older version, you need to explicitly declare the parameters as `options`

Use timestamp ref

Return

Parameters

options
autoResume

If automatically execute resume when entering the component