Join Slack
What do i need to do, to "import kotlin.system.measureTimeMillis" in commons module, so it don't com...
# multiplatform
k
Konstantin Petrukhnov
08/26/2019, 10:16 AM
What do i need to do, to "import kotlin.system.measureTimeMillis" in commons module, so it don't complain about unresolved reference?
t
thana
08/26/2019, 10:33 AM
it's not available for common, so you cant import anything to do that
👍 1
thana
08/26/2019, 10:34 AM
what you can do i
expect
measureTimeMillis and implement it yourself in all targets - e.g. by aliasing to the kotlin-provided implementation
k
Konstantin Petrukhnov
08/26/2019, 11:56 AM
maybe I could try new Time package, it seems that I could get same things from there
👍 1
19
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by