Liking cljdoc? Tell your friends :D

cider.nrepl.middleware.tap

Stream values sent to `tap>' to the client, and let it inspect them.

A subscription registers an add-tap' handler that, for each tapped value, retains it (bounded, for later inspection) and forwards a short summary to the client on the subscribing request - mirroring how the trace middleware streams events.cider/tap-inspect' starts a normal inspector session on a retained value by its index, so the client reuses the existing inspector UI.

Stream values sent to `tap>' to the client, and let it inspect them.

A subscription registers an `add-tap' handler that, for each tapped value,
retains it (bounded, for later inspection) and forwards a short summary to the
client on the subscribing request - mirroring how the trace middleware streams
events.  `cider/tap-inspect' starts a normal inspector session on a retained
value by its index, so the client reuses the existing inspector UI.
raw docstring

handle-tapclj

(handle-tap handler msg)
source

tap-inspectclj

(tap-inspect {:keys [idx] :as msg})

Start an inspector session on the retained tapped value at index `idx'.

Start an inspector session on the retained tapped value at index `idx'.
sourceraw docstring

tap-subscribeclj

(tap-subscribe msg)

Stream a summary of every tapped value to the client until cider/tap-unsubscribe'. Registers anadd-tap' handler that forwards each value on this request and retains it for `cider/tap-inspect'.

Stream a summary of every tapped value to the client until
`cider/tap-unsubscribe'.  Registers an `add-tap' handler that forwards each
value on this request and retains it for `cider/tap-inspect'.
sourceraw docstring

tap-unsubscribeclj

(tap-unsubscribe {:keys [subscription]})

Stop streaming tapped values for the given subscription.

Stop streaming tapped values for the given subscription.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close