Liking cljdoc? Tell your friends :D

nrepl.middleware.interruptible-eval


*msg*clj

The message currently being evaluated.

The message currently being evaluated.
sourceraw docstring

classloaderclj

(classloader parent f)

Creates a classloader that obey standard delegating policy. Takes two arguments: a parent classloader and a function which takes a keyword (:resource or :class) and a string (a resource or a class name) and returns an array of bytes or nil.

Creates a classloader that obey standard delegating policy.
Takes two arguments: a parent classloader and a function which
takes a keyword (:resource or :class) and a string (a resource or a class name) and returns an array of bytes
or nil.
sourceraw docstring

evaluateclj

(evaluate {:keys [transport session eval ns code file line column out-limit]
           :as msg})

Evaluates a msg's code within the dynamic context of its session.

Uses clojure.main/repl to drive the evaluation of :code (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.

Evaluates a msg's code within the dynamic context of its session.

Uses `clojure.main/repl` to drive the evaluation of :code (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.
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

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

× close