module Sidekiq::Result::Worker

Worker is the module included in a worker so that we know the user wants to track the jobs’ results

@!attribute expiration

@return [Integer] How long to leave item in Redis (TTL)

Attributes

expiration[RW]

Public Instance Methods

store_result?() click to toggle source

Internal method used to ensure user wants to track the result The user MUST include this module in their Worker as per the readme if they want to track the job results

# File lib/sidekiq_result/worker.rb, line 13
def store_result?
  true
end