What are the best "automatic resource management" libraries


#1

scala-arm does not seem updated anymore.

what are the best “automatic resource management” libraries?


#2

Akka Streams deals with resources like storage (files) or network (TCP). Although it’s not the same as conventional try-with-resources constructs it automatically frees (AFAIK) resources when stream is completed (either successfully or because of an error).

https://doc.akka.io/docs/akka/2.5/stream/stream-io.html