Method: Lens::Worker#run

Defined in:
lib/lens/worker.rb

#runObject



71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/lens/worker.rb', line 71

def run
  begin
    loop do
      case msg = queue.pop
      when SHUTDOWN
        break
      else
        process(msg)
      end
    end
  end
rescue Exception => e
end