Sylvain Patenaude10/27/2021, 8:05 PM
isn't part of the stdlib-common? Would be useful in multiplatform common code.
mbonnin10/27/2021, 8:25 PM
is a no-op on JVM/JS so I guess this is why. It's pretty easy to do your own version though
Sylvain Patenaude10/27/2021, 8:58 PM
annotations on some `val`s in
classes, but it seems it doesn't work anymore with kotlin >= 1.4. I needed those annotations for the iOS clients of my library as the data returned is transfering across other threads. Is calling
at a few strategic places the way to go or is there a more "standard" way to replace these
mbonnin10/27/2021, 9:03 PM
as top level properties instead of data classes properties
in the "appropriate" place would work too
Sylvain Patenaude10/27/2021, 9:06 PM
multiplatform implementation for now. I don't understand why
doesn't work anymore though. It doesn't seem documented anywhere.