useTimestamp

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


fun useTimestamp(options: TimestampOptions = remember { TimestampOptions() }, autoResume: Boolean = true): Tuple4<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

Return

Parameters

options
autoResume

If automatically execute resume when entering the component