viaduct
0.2.0-5-g5831d91.dirty
compiler
/
edu.cornell.cs.apl.viaduct.util
/
duration
duration
fun
<
R
>
KLogger
.
duration
(
operationName
:
String
,
operation
:
(
)
->
R
)
:
R
Content copied to clipboard
Calls
operation
and returns the result. Additionally, logs its running time using
KLogger.info
.