How to use the actionhero.api.resque function in actionhero

To help you get started, we’ve selected a few actionhero 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 actionhero / ah-resque-ui / actions / ah-resque-ui.js View on Github external
async run ({response}) {
    let redisInfo = await api.resque.queue.connection.redis.info()
    if (redisInfo) { response.redisInfo = redisInfo.split(os.EOL) }
  }
}