toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.time
/
measureTime
measure
Time
inline
fun
measureTime
(
callback
:
(
)
->
Unit
)
:
TimeSpan
Executes a
callback
and measure the time it takes to complete.
inline
fun
<
T
>
measureTime
(
callback
:
(
)
->
T
,
handleTime
:
(
TimeSpan
)
->
Unit
)
:
T