The pub/sub topic interface.
Subscribe to the topic.
Any of the content types defined in ISubscriptions.
One of the content type defined in ISubscriptions.
The callback when the content is received. callbacks' payload are defined in ISubscriptions.
Close the topic.
Get the name of the topic.
Get the owner ID of the topic.
Publish content to the topic.
The content to publish. Content needs to be a valid JSON.stringify argument.
Optional
The node IDs to publish to.
Unsubscribe from the topic.
The pub/sub topic interface.