https://kotlinlang.org logo
#stdlib
Title
# stdlib
d

Dominaezzz

10/11/2019, 5:26 PM
Is there a YouTrack issue for
Closeable
in stdlib? I remember the verdict being stdlib itself doesn't use it so it won't provide it, but there should a ticket somewhere.
j

jw

10/11/2019, 5:32 PM
Hopefully kotlinx.io will motivate its inclusion. It's really a pain to not have this and have every library re-invent it with the necessary typealiasing and providing their own
use
function
d

Dominaezzz

10/11/2019, 6:16 PM
🤞🏼
i

ilya.gorbunov

10/11/2019, 6:43 PM
https://youtrack.jetbrains.com/issue/KT-31066 We discussed it recently and decided not to provide it for now and to focus instead on a more versatile resource management pattern. The prototype of that approach will most likely be in kotlinx.io library.
d

Dominaezzz

10/11/2019, 6:43 PM
Thanks!