Type alias Subscription

Subscription: {
    convertTo?: string;
    preload?: boolean;
    topic: string;
}

Type declaration

  • Optional convertTo?: string

    If a topic has additional schema names, specifying a schema name will convert messages on that topic to the convertTo schema using a registered message converter. MessageEvents for the subscription will contain the converted message and an originalMessageEvent field with the original message event.

  • Optional preload?: boolean

    Setting preload to true hints to the data source that it should attempt to load all available messages for the topic. The default behavior is to only load messages for the current frame.

    Only topics with preload: true are available in the allFrames render state.

  • topic: string