Kind of message broker between the Jupyter UI and the kernel.
Receiver of messages from client code running in the browser.
Receiver of messages from client code running in the browser.
See CommHandler to register it.
Data that can be pushed to and displayed in the Jupyter UI
Sends output to the Jupyter UI.
Sends output to the Jupyter UI.
Can send stdout and stderr messages straightaway to the UI, short-circuiting the java.io.PrintStreams of println and the like.
Can also send more evolved messages, made of HTML, JS, etc.
Instances of OutputHandler are typically available to users in the implicit scope of code run via the kernel, and can publish stuff in the current cell *while it is running*.
If no cell is currently running, no new elements can be pushed to the UI, but previous ones can still be updated.
Kind of message broker between the Jupyter UI and the kernel.
Typically available in the implicit scope of user code run via the kernel.
Can be used by users to send messages to custom code running in the browser, and receive messages from it.