How to use the pubsub-js.clearSubscriptions function in pubsub-js

To help you get started, we’ve selected a few pubsub-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / pcs-remote-monitoring-webui / src / common / eventtopic.js View on Github external
var clearSubscriptions = function (topic) {
    validateTopic(topic);
    return PubSub.clearSubscriptions(topic);
}