v14.0.6: delQueue and queued

2 views
Skip to first unread message

Evan Tahler

unread,
Jul 4, 2016, 6:54:22 PM7/4/16
to actionHero.js
https://github.com/evantahler/actionhero/releases/tag/v14.0.6

Expose resque functions via api.tasks:

  • api.tasks.delQueue(queue, next)
    • next(error)
    • removes all jobs in a resque queue
  • api.tasks.queued(q, start, stop, next)
    • next(error, jobs)
    • will return an array of all pending jobs in a resque queue (paginated via start/stop)
  • by @evantahler via 50a2bfa
Reply all
Reply to author
Forward
0 new messages