Big Chungus04/19/2021, 3:08 PM
interface and use extension is not in the common stdlib?
Tomasz Krakowiak04/19/2021, 3:18 PM
Big Chungus04/19/2021, 3:22 PM
louiscad04/19/2021, 4:50 PM
Big Chungus04/19/2021, 4:52 PM
louiscad04/19/2021, 5:46 PM
function can throw
, again, a very JVM thing (nowhere to be found in platforms supported by Kotlin/Native for example. API-wise, it's a bit complicated to support that forever I think, because it might not be the best abstraction for resource releasing, and Kotlin might lack the facilities or consistency across supported platforms (i.e. shared XOR mutable on native for now) to allow for a better solution.
gildor05/10/2021, 8:01 AM
be suspend and how it should work with java Closable/AutoClosable