How to use the @nteract/epics/lib/comm.createCommOpenMessage function in @nteract/epics

To help you get started, we’ve selected a few @nteract/epics examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nteract / nteract / packages / jupyter-widgets / src / manager / widget-comms.ts View on Github external
open(
    data: any,
    callbacks: any,
    metadata?: any,
    buffers?: ArrayBuffer[] | ArrayBufferView[]
  ): string {
    const message = createCommOpenMessage(
      this.comm_id,
      this.target_name,
      this.flattenBufferArrays(buffers),
      this.target_module
    );
    this.kernel.channels.next(message);
    return message.header.msg_id;
  }

@nteract/epics

Redux-Observable epics for nteract apps

BSD-3-Clause
Latest version published 2 years ago

Package Health Score

65 / 100
Full package analysis