Renderer messaging is used to communicate with a single renderer. It's returned from notebooks.createRendererMessaging.
An event that fires when a message is received from a renderer.
Send a message to one or all renderer.
Message to send
Editor to target with the message. If not provided, the message is sent to all renderers.
a boolean indicating whether the message was successfully delivered to any renderer.