Method: Natsy::Client.reset!
- Defined in:
- lib/natsy/client.rb
.reset! ⇒ Object
**USE WITH CAUTION:** This method (::reset!) clears all subscriptions, stops listening (if started), and kills any active threads.
131 132 133 134 135 |
# File 'lib/natsy/client.rb', line 131 def reset! replies.clear stop! kill! end |