v14.0.6: delQueue and queued

瀏覽次數:2 次
跳到第一則未讀訊息

Evan Tahler

未讀,
2016年7月4日 下午6:54:222016/7/4
收件者: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
回覆所有人
回覆作者
轉寄
0 則新訊息