Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NotebookRendererMessaging

Renderer messaging is used to communicate with a single renderer. It's returned from notebooks.createRendererMessaging.

Hierarchy

  • NotebookRendererMessaging

Index

Properties(1)

Methods(1)

Properties(1)

Readonly onDidReceiveMessage

onDidReceiveMessage: Event<{ editor: NotebookEditor; message: any }>

An event that fires when a message is received from a renderer.

Methods(1)

postMessage

  • Send a message to one or all renderer.

    Parameters

    • message: any

      Message to send

    • Optional editor: NotebookEditor

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

    Returns Thenable<boolean>

    a boolean indicating whether the message was successfully delivered to any renderer.

Generated by TypeDoc. Maintained by 紫升

Links: 搜外友链, 69中文网