Liking cljdoc? Tell your friends :D

nrepl.middleware


linearize-middleware-stackclj

(linearize-middleware-stack middleware-vars)

Given a list of middleware vars, sort them topologically, so that least dependent middleware come FIRST and ones dependent on come LAST. The returned order lends itself to being composed as-is into the final handler.

Given a list of middleware vars, sort them topologically, so that least
dependent middleware come FIRST and ones dependent on come LAST. The returned
order lends itself to being composed as-is into the final handler.
sourceraw docstring

set-descriptor!clj

(set-descriptor! middleware-var descriptor)

Sets the given [descriptor] map as the ::descriptor metadata on the provided [middleware-var], after assoc'ing in the var's fully-qualified name as the descriptor's "implemented-by" value. The value of :session-dynvars should be a set of dynamic variables that the middleware expects to be made rebindable for each new session.

Sets the given [descriptor] map as the ::descriptor metadata on the
provided [middleware-var], after assoc'ing in the var's fully-qualified name
as the descriptor's "implemented-by" value. The value of `:session-dynvars`
should be a set of dynamic variables that the middleware expects to be made
rebindable for each new session.
sourceraw docstring

wrap-describeclj

(wrap-describe h middleware)

Special middleware that accepts the list of all other middleware (except self) and handles describe op.

Special middleware that accepts the list of all other middleware (except self)
and handles `describe` op.
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