lib/resque/plugins/multi_step_task.rb
# Make this multi-step task finalizable (see #finalizable?).
Make this multi-step task finalizable .
Make this multi - step task finalizable .
def finalizable!
        redis.sadd 'finalizable-tasks', task_id
        if synchronous?
          maybe_finalize
        else
          Resque::Job.create(queue_name, AssureFinalization, self.task_id)
        end
      end
def finalizable! redis . sadd 'finalizable-tasks' , task_id if synchronous? maybe_finalize else Resque :: Job . create ( queue_name , AssureFinalization , self . task_id ) end end
Make this multi-step task finalizable (see #finalizable?
Make this multi - step task finalizable ( see #finalizable?