Defines the interface for communicating with the Clojupyter kernel which, to ensure close alignment
with Jupyter's architecture, is based on core.async
channels (mimicking the ZeroMQ channels used
for communication between the Jupyter client (Notebook, Lab, others) and backend (kernels such as
Clojupyter).
Defines the interface for communicating with the Clojupyter kernel which, to ensure close alignment with Jupyter's architecture, is based on `core.async` channels (mimicking the ZeroMQ channels used for communication between the Jupyter client (Notebook, Lab, others) and backend (kernels such as Clojupyter).
(jup-channel jup socket-kw inbound-or-outbound)
Returns the channel associated with socket-kw
, inbound-or-outbound
must be either
:inbound
or :outbound
.
Returns the channel associated with `socket-kw`, `inbound-or-outbound` must be either `:inbound` or `:outbound`.
(jup-channels jup socket-kw)
Returns a 2-tuple comprising the inbound and outbound channels for the Jupyter socket
socket-kw
.
Returns a 2-tuple comprising the inbound and outbound channels for the Jupyter socket `socket-kw`.
(receive!! jup socket-kw)
Receive from channel associated with socket-kw
.
Receive from channel associated with `socket-kw`.
(send!! jup socket-kw req-message msgtype content)
(send!! jup socket-kw req-message msgtype metadata content)
Send to channel associated with socket-kw
.
Send to channel associated with `socket-kw`.
(make-jup ctrl-in
ctrl-out
shell-in
shell-out
iopub-in
iopub-out
stdin-in
stdin-out)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close