What are the best "automatic resource management" libraries


scala-arm does not seem updated anymore.

what are the best “automatic resource management” libraries?


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).