How to use the pubnub.revoke function in pubnub

To help you get started, we’ve selected a few pubnub 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 pubnub / angularjs-hubbub / server / app.js View on Github external
var revoke = function(args){

        var deferred = Q.defer();
        args['callback'] = function(res){ deferred.resolve(res); }
        args['error'] = function(res){ deferred.reject(res); }
        pubnub.revoke(args);
        return deferred.promise;

      }

pubnub

Publish & Subscribe Real-time Messaging with PubNub

SEE LICENSE IN LICENSE
Latest version published 3 days ago

Package Health Score

86 / 100
Full package analysis