Instance of the CommManagerClass class.
CommManager
An object of class CommManagerClass
(inherits from R6
) of length 11.
new()
CommManagerClass$new(..., error_call = caller_env())
...
currently unused
error_call
register_comm_target()
CommManagerClass$register_comm_target(
target_name,
callback = function(comm, message) {
}
)
target_name
name of the comm target, e.g. "jupyter.widgets"
callback
callback function taking two arguments 'comm' and 'message'.
unregister_comm_target()
CommManagerClass$unregister_comm_target(target_name)
target_name
name of the comm target
new_comm()
CommManagerClass$new_comm(target_name, description = "")
target_name
name of the target
description
description of the comm
comms()
CommManagerClass$comms()
the list of currently open comms
target_callback()
CommManagerClass$target_callback(target_name)
target_name
name of the comm target
the callback for that target name
preserve()
CommManagerClass$preserve(comm)
comm
Comm instance to preserve
release()
CommManagerClass$release(comm)
comm
Comm instance to release
get_comm_info()
CommManagerClass$get_comm_info(target_name = NULL)
target_name
name of the target to get info about all comm opens. If NULL, info for comms for all targets are returned.
clone()
The objects of this class are cloneable with this method.
CommManagerClass$clone(deep = FALSE)
deep
Whether to make a deep clone.