Method: OpenC3::RouterTopic.shutdown

Defined in:
lib/openc3/topics/router_topic.rb

.shutdown(router, scope:) ⇒ Object



83
84
85
# File 'lib/openc3/topics/router_topic.rb', line 83

def self.shutdown(router, scope:)
  Topic.write_topic("{#{scope}__CMD}ROUTER__#{router.name}", { 'shutdown' => 'true' }, '*', 100)
end