function | since v1.10.63 | clojure.core/add-tap | Edit |
(add-tap f)
Adds f, a fn of one argument, to the tap set. This function will be called with anything sent via tap>. Remember f in order to remove-tap
(defn add-tap
[f]
(maybe-init-tapset)
(swap! tapset conj f)
nil)