Liking cljdoc? Tell your friends :D

clojupyter.kernel.jup-channels

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).
raw docstring

channels-protocljprotocol

jup-channelclj

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

(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!!clj

(receive!! jup socket-kw)

Receive from channel associated with socket-kw.

Receive from channel associated with `socket-kw`.

send!!clj

(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`.
source

jup?clj

(jup? v)
source

make-jupclj

(make-jup ctrl-in
          ctrl-out
          shell-in
          shell-out
          iopub-in
          iopub-out
          stdin-in
          stdin-out)
source

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

× close