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>. This function ...

  • add-watch

    Adds a watch function to an agent/atom/var/ref reference. The watch fn must be a fn of 4 args: a key, the reference, i...

  • 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. Will not block. Returns true if there was room in the queue, false if not (dropped).