Module: SolidQueue::Processes::Supervised

Extended by:
ActiveSupport::Concern
Included in:
Runnable
Defined in:
lib/solid_queue/processes/supervised.rb

Instance Method Summary collapse

Instance Method Details

#supervised_by(process) ⇒ Object



11
12
13
14
# File 'lib/solid_queue/processes/supervised.rb', line 11

def supervised_by(process)
  self.mode = :supervised
  @supervisor = process
end