Dynamic var. If found bound to a logically true value in closing
thread, will swallow any java.lang.Throwable
, the top class for
all exceptions in Java.
Because clojure.walk/walk
is used for map traversal, it is not
possible to pass any closeable context as an argument. Also, as we
iteratively walk through nested datastructure, some of them do not
support metadata so we can't attach swallow to the children. As a
result, a binding on this dynamic var in the execution thread allows
for a simple way to remember the parent value as we visit the
children.
Dynamic var. If found bound to a logically true value in closing thread, will swallow any `java.lang.Throwable`, the top class for all exceptions in Java. Because `clojure.walk/walk` is used for map traversal, it is not possible to pass any closeable context as an argument. Also, as we iteratively walk through nested datastructure, some of them do not support metadata so we can't attach swallow to the children. As a result, a binding on this dynamic var in the execution thread allows for a simple way to remember the parent value as we visit the children.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close