createRendererMessaging method

NotebookRendererMessaging createRendererMessaging(
  1. String rendererId
)

Creates a new messaging instance used to communicate with a specific renderer.

  • Note 1: Extensions can only create renderer that they have defined in their package.json-file
  • Note 2: A renderer only has access to messaging if requiresMessaging is set to always or optional in its notebookRenderer contribution.

Implementation

_i3.NotebookRendererMessaging createRendererMessaging(
        _i2.String rendererId) =>
    _i5.callMethod(
      this,
      'createRendererMessaging',
      [rendererId],
    );