Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "antidote"

Index

Functions

_debugPrint

  • _debugPrint(obj: any): string

connect

  • Connects to antidote on the given port and hostname

    Parameters

    • port: number

      the port number of Antidote's protocol buffer port (for example 8087)

    • host: string

      the host running Antidote (for example "localhost")

    Returns Connection

encode

  • encode(message: object | any): ArrayBuffer
  • takes a message with an encode method and converts it into an ArrayBuffer

    Parameters

    • message: object | any

    Returns ArrayBuffer

key

  • key(key: string, type: CRDT_type, bucket: string): ApbBoundObject
  • Creates a BoundObject, wich Antidote uses as key for data

    Parameters

    • key: string
    • type: CRDT_type
    • bucket: string

    Returns ApbBoundObject

Generated using TypeDoc