lib/models/queue.js
function() {
    var client = redis.client();
    return client.keysAsync('bull:*:id').then(function(keys) {
      return _.map(keys, function(key) {
        return key.slice(5, -3);
      });
    });
  }
function() {
    var client = redis.client();
    return client.keysAsync('bull:*:id').then(function(keys) {
      return _.map(keys, function(key) {
        return key.slice(5, -3);
      });
    });
  }
function ( ) { var client = redis . client ( ) ; return client . keysAsync ( 'bull:*:id' ) . then ( function ( keys ) { return _ . map ( keys , function ( key ) { return key . slice ( 5 , - 3 ) ; } ) ; } ) ; }
List all queues
@returns {Promise} A promise that resolves to the keys of all queues
List all queues