RubyGems Navigation menu

resque-result 1.0.0

If you want to be able fetch the result from a Resque job's perform method. Results will be encoded using JSON. For example: class MyJob extend Resque::Jobs::Result def self.perform(meta_id, big_num) factor(big_num) end end meta0 = MyJob.enqueue(3574406403731) meta0.enqueued_at # => 'Wed May 19 13:42:41 -0600 2010' meta0.meta_id # => '03c9e1a045ad012dd20500264a19273c' # later meta1 = MyJob.get_meta('03c9e1a045ad012dd20500264a19273c') meta1.succeeded? # => true meta1.result # => [ 1299709, 2750159 ]

Gemfile:
=

安裝:
=

版本列表:

  1. 1.0.1 September 11, 2010 (8.0 KB)
  2. 1.0.0 June 04, 2010 (8.0 KB)

Runtime 相依性套件 (2):

resque >= 1.9.0
resque-meta >= 1.0.0

擁有者:

作者:

  • Lee Marlow

SHA 256 總和檢查碼:

=

總下載次數 27,861

這個版本 7,780

版本发布:

授權:

Ruby 版本需求:

相關連結: