The Closeable objects have the use( () -> Unit) utility, it is working great as long as I only have a single Closeable object. When there are multiple such objects that I have to handle what is the best option? when e.g. only 2 objects, I can embed it like
//actually do something
but this may look a bit weird after about 3 closeable objects. Do you have plan to have something similar to java 7 resource blocks?