TopicId

A TopicId represents a canonical address for content on the platform. The address can be broken up into two or three elements: Data source id, Table Number (Optional), Symbol.

Each topic is associated with a single data source. The combination of DataSource and Symbol represents a unique entity on the platform. Table number is optional.

Constructors

  • constructor

    • new TopicId(topicId?: any): TopicId

      Constructor.

      Parameters

      • topicId?: anya string of the format \<dataSource\>\[/\<tableNumber\>\]:\<symbol\>, or an object with the properties of dataSource, symbol and an optional table number.

      Returns TopicId

Methods

  • toString

    • toString(): string

      A string representation of a topic id.

      Returns string

Properties

Also in this Section