subscribe
Subscribe to a topic.
Return
the reference ID of the subscription
Parameters
topic
the name of the topic to subscribe to
callback
the callback to trigger when the subscription is called
Subscribe to a topic.
the reference ID of the subscription
the name of the topic to subscribe to
the callback to trigger when the subscription is called