• Publishes a message to the provided topic

    Parameters

    • topic: string

      The topic to publish the message to

    • data: any

      The data to publish to subscribers

    Returns void

Generated using TypeDoc