Liking cljdoc? Tell your friends :D

clojupyter.kernel.state


add-history!clj

(add-history! code)
source

display!clj

(display! obj)

Adds obj to the end of the display queue for to be output to the Jupyter stdout stream.

Calling display! before kernel has been initialized generates an exception.

Returns :ok.

Adds `obj` to the end of the display queue for to be output to the
Jupyter `stdout` stream.

Calling `display!` before kernel has been initialized generates an
exception.

Returns `:ok`.
sourceraw docstring

display-queueclj

(display-queue)

Returns the current display queue.

Returns the current display queue.
sourceraw docstring

end-history-sessionclj

(end-history-session)

Returns the history session.

Returns the history session.
sourceraw docstring

execute-countclj

(execute-count)

Returns current value of Jupyter Execution Counter.

Returns current value of Jupyter Execution Counter.
sourceraw docstring

get-and-clear-display-queue!clj

(get-and-clear-display-queue!)

Returns display queue after clearing it.

Returns display queue after clearing it.
sourceraw docstring

get-historyclj

(get-history)
source

inc-execute-count!clj

(inc-execute-count!)

Increments Jupyter Execution Counter by 1.

Increments Jupyter Execution Counter by 1.
sourceraw docstring

make-stateclj

(make-state)
source

set-initial-state!clj

(set-initial-state!)
source

STATEclj

source

terminate!clj

(terminate! {:keys [nrepl-comm] :as R})

Sets kernel state to terminated and stops nREPL server. After terminate! has been called terminated? returns true.

Sets kernel state to terminated and stops nREPL server.  After
`terminate!` has been called `terminated?` returns `true`.
sourceraw docstring

terminated?clj

(terminated?)

Returns true if kernel been terminated!, false otherwise.

Returns `true` if kernel been `terminated!`, `false` otherwise.
sourceraw docstring

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

× close