Method: Cosmos::RouterTopic.disconnect_router
- Defined in:
- lib/cosmos/topics/router_topic.rb
.disconnect_router(router_name, scope:) ⇒ Object
67 68 69 |
# File 'lib/cosmos/topics/router_topic.rb', line 67 def self.disconnect_router(router_name, scope:) Topic.write_topic("{#{scope}__CMD}ROUTER__#{router_name}", { 'disconnect' => true }, '*', 100) end |