postMessage

abstract fun postMessage(message: JsAny?, editor: NotebookEditor = definedExternally): PromiseLike<JsBoolean>(source)

Send a message to one or all renderer.

Parameters

message

Message to send

editor

Editor to target with the message. If not provided, the message is sent to all renderers.