Type alias TopicMessageHandler

TopicMessageHandler: ((data) => void)

Type declaration

    • (data): void
    • Represents a callback that gets called and passed an optional payload when receiving a pre-defined message from a subscribed topic.

      Parameters

      • data: {
            [key: string]: any;
        } | undefined

      Returns void

Generated using TypeDoc