Back
closeable* (clj)
(source)macro
(closeable* x)
Use it within `closeable-map*` or `with-closeable*` to avoid
partially open state when an exception is thrown on evaluating
closeable forms.
When `x` is a Java object, store as a object that may be closed. You
may then extend the multimethod `close!` to provide a standard way
to close this class of objects.