Options
All
  • Public
  • Public/Protected
  • All
Menu

@jupyterlab/services

Index

Functions

deserialize

  • deserialize(data: ArrayBuffer | string): IMessage
  • Deserialize and return the unpacked message.

    Notes

    Handles JSON blob strings and binary messages.

    Parameters

    • data: ArrayBuffer | string

    Returns IMessage

serialize

  • serialize(msg: IMessage): string | ArrayBuffer
  • Serialize a kernel message for transport.

    Notes

    If there is binary content, an ArrayBuffer is returned, otherwise the message is converted to a JSON string.

    Parameters

    Returns string | ArrayBuffer

validateCheckpointModel

validateContentsModel

  • validateContentsModel(model: IModel): void

validateMessage

validateModel

  • validateModel(model: IModel): void

validateSpecModel

validateSpecModels

Generated using TypeDoc