Package

almond.interpreter

api

Permalink

package api

Visibility
  1. Public
  2. All

Type Members

  1. abstract class CommHandler extends UpdateDisplay with UpdateHelpers

    Permalink

    Kind of message broker between the Jupyter UI and the kernel.

    Kind of message broker between the Jupyter UI and the kernel.

    Typically available in the implicit scope of user code run via the kernel.

    Can be used by users to send messages to custom code running in the browser, and receive messages from it.

  2. trait CommTarget extends AnyRef

    Permalink

    Receiver of messages from client code running in the browser.

    Receiver of messages from client code running in the browser.

    See CommHandler to register it.

  3. final case class DisplayData(data: Map[String, String], metadata: Map[String, String] = Map.empty, idOpt: Option[String] = None) extends Product with Serializable

    Permalink

    Data that can be pushed to and displayed in the Jupyter UI

  4. abstract class OutputHandler extends UpdateDisplay with Helpers with UpdateHelpers

    Permalink

    Sends output to the Jupyter UI.

    Sends output to the Jupyter UI.

    Can send stdout and stderr messages straightaway to the UI, short-circuiting the java.io.PrintStreams of println and the like.

    Can also send more evolved messages, made of HTML, JS, etc.

    Instances of OutputHandler are typically available to users in the implicit scope of code run via the kernel, and can publish stuff in the current cell *while it is running*.

    If no cell is currently running, no new elements can be pushed to the UI, but previous ones can still be updated.

Value Members

  1. object CommTarget

    Permalink
  2. object DisplayData extends Serializable

    Permalink
  3. object OutputHandler

    Permalink

Ungrouped