Liking cljdoc? Tell your friends :D

pinkgorilla.middleware.sandboxed_interruptible-eval


clojail-sandboxclj

source

default-executorclj

source

evaluateclj

(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-evalclj

(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-evalclj

(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