Join Slack
Powered by
Is there any reason why measureTimeMillis { .. } i...
# announcements
j
jmfayard
01/12/2019, 10:36 AM
Is there any reason why measureTimeMillis { .. } is missing
Copy code
contract { callsInPlace(block, InvocationKind.EXACTLY_ONCE) }
s
s1m0nw1
01/12/2019, 10:54 AM
I’m not sure why the function does not also provide a way to catch the result properly. Here’s my suggestion to just write a similar one which gives the result along with the time:
https://stackoverflow.com/a/51648426/8073652
➕ 1
g
gildor
01/12/2019, 11:33 AM
https://youtrack.jetbrains.com/issue/KT-27856
👍 1
➕ 1
2
Views
Open in Slack
Previous
Next