Is there a YouTrack issue for `Closeable` in stdli...
# stdlib
d
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
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
🤞🏼
i
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
Thanks!