measureTimeWithResult
Deprecated
Replace with
import kotlin.time.measureTimedValue
Content copied to clipboard
measureTimedValue(callback)Content copied to clipboard
Executes the callback measuring the time it takes to complete. Returns a TimedResult with the time and the return value of the callback.