Liking cljdoc? Tell your friends :D

clojupyter.kernel.comm-atom

Implements support for Jupyter COMM objects which is the mechanism for synchronizing state between Jupyter clients (Notebook, Lab, others) and kernels such as Clojupyter. COMM objects serve as the basis for interactive controls such as ipywidgets.

Implements support for Jupyter COMM objects which is the mechanism for synchronizing state between
Jupyter clients (Notebook, Lab, others) and kernels such as Clojupyter.  COMM objects serve as the
basis for interactive controls such as ipywidgets.
raw docstring

base-widgetclj

(base-widget state)
(base-widget state comm-id)
source

closed?clj

source

comm-atom-protocljprotocol

close!clj

(close! comm-atom)

Removes the comm-atom from the global state and sends COMM-CLOSE to the front end.

Removes the comm-atom from the global state and sends COMM-CLOSE to the front end.

send!clj

(send! comm-atom msg)

Sends custom message to front-end. Msg must be a map serializable to JSON.

Sends custom message to front-end. Msg must be a map serializable to JSON.

sync-stateclj

(sync-state comm-atom)

A map of attributes to be sent to front-end

A map of attributes to be sent to front-end
source

comm-atom?clj

source

createclj

(create jup req-message target-name comm-id sync-keys comm-state)
source

create-and-insertclj

(create-and-insert jup req-message target-name comm-id sync-keys comm-state)
source

insertclj

(insert comm-atom)
source

jsonable?clj

(jsonable? v)
source

jupfldclj

source

MESSAGE-METADATAclj

source

open?clj

(open? comm-atom)
source

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

× close