module Sidekiq::CancellableWorker

Constants

VERSION

Public Class Methods

prepended(base) click to toggle source
# File lib/sidekiq/cancellable_worker.rb, line 15
def self.prepended(base)
  base.extend(ClassMethods)
end

Public Instance Methods

perform(*) click to toggle source
Calls superclass method
# File lib/sidekiq/cancellable_worker.rb, line 19
def perform(*)
  @context = WorkerContext.new(jid)
  super
end