Skip to main content

Watches

5
  • add-tap

    Adds f, a fn of one argument, to the tap set. This function will be called with anything sent via tap>. Remember f in or...

  • add-watch

    Adds a watch function to an atom reference. The watch fn must be a fn of 4 args: a key, the reference, its old-state, it...

  • remove-tap

    Remove f from the tap set.

  • remove-watch

    Removes a watch (set by add-watch) from a reference

  • tap>

    Sends x to any taps. Returns the result of *exec-tap-fn*, a Boolean value.