observeDuration

suspend fun observeDuration(): Double

Records the duration of the operation and returns the elapsed time.

Return

The elapsed time in seconds.