Skip to content

clojure.core/add-tap

View this page on ClojureDocs

Type: function Added: Clojure 1.10 Examples: 2 Runnable: 0
([f])

adds f, a fn of one argument, to the tap set. This function will be called with anything sent via tap>. This function may (briefly) block (e.g. for streams), and will never impede calls to tap>, but blocking indefinitely may cause tap values to be dropped. Remember f in order to remove-tap

Examples

by earthfail on . May have evaluation errors.
by djblue on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.