Returns a Future that completes when the node publishes a message to a PubSub topic.
message
topic
Future<void> publish(String topic, String message) => _protocolManager.publish(topic, message);