Method: OpenC3::TextLogMicroservice#run

Defined in:
lib/openc3/microservices/text_log_microservice.rb

#runObject



46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/openc3/microservices/text_log_microservice.rb', line 46

def run
  setup_tlws()
  while true
    break if @cancel_thread

    Topic.read_topics(@topics) do |topic, msg_id, msg_hash, redis|
      break if @cancel_thread

      log_data(topic, msg_id, msg_hash, redis)
    end
  end
end