Base class to manage comms
Manager for Comms in the Kernel
Get a comm with a particular id
Returns the comm if found, otherwise None.
This will not raise an error, it will log messages if the comm cannot be found.
Register a new comm
Register a callable f for a given target name
f will be called with two arguments when a comm_open message is received with target:
f can be a Python callable or an import string for one.
Unregister a comm, and close its counterpart
Unregister a callable registered with register_target
Return lazy-evaluated string representation of a dictionary’s keys
Key list is only constructed if it will actually be used. Used for debug-logging.
method decorator for ensuring output is handled properly in a message handler