Liking cljdoc? Tell your friends :D

nrepl.middleware.interruptible-eval


*eval*

Function returning the evaluation of its argument.

Function returning the evaluation of its argument.
sourceraw docstring

*msg*

The message currently being evaluated.

The message currently being evaluated.
sourceraw docstring

default-executor

source

evaluate

(evaluate bindings
          {:keys [code ns transport session eval file line column],
           :as msg})

Evaluates some code within the dynamic context defined by a map of bindings, as per clojure.core/get-thread-bindings.

Uses clojure.main/repl to drive the evaluation of :code in a second map argument (either a string or a seq of forms to be evaluated), which may also optionally specify a :ns (resolved via find-ns). The map MUST contain a Transport implementation in :transport; expression results and errors will be sent via that Transport.

Returns the dynamic scope that remains after evaluating all expressions in :code.

It is assumed that bindings already contains useful/appropriate entries for all vars indicated by clojure.main/with-bindings.

Evaluates some code within the dynamic context defined by a map of `bindings`,
as per `clojure.core/get-thread-bindings`.

Uses `clojure.main/repl` to drive the evaluation of :code in a second
map argument (either a string or a seq of forms to be evaluated), which may
also optionally specify a :ns (resolved via `find-ns`).  The map MUST
contain a Transport implementation in :transport; expression results and errors
will be sent via that Transport.

Returns the dynamic scope that remains after evaluating all expressions
in :code.

It is assumed that `bindings` already contains useful/appropriate entries
for all vars indicated by `clojure.main/with-bindings`.
sourceraw docstring

interruptible-eval

(interruptible-eval h & configuration)

Evaluation middleware that supports interrupts. Returns a handler that supports "eval" and "interrupt" :op-erations that delegates to the given handler otherwise.

Evaluation middleware that supports interrupts.  Returns a handler that supports
"eval" and "interrupt" :op-erations that delegates to the given handler
otherwise.
sourceraw docstring

queue-eval

(queue-eval session executor f)

Queues the function for the given session.

Queues the function for the given session.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close