Method: MessageBus::Backends::Memory#global_unsubscribe

Defined in:
lib/message_bus/backends/memory.rb

#global_unsubscribeObject

Causes all subscribers to the bus to unsubscribe, and terminates the local connection. Typically used to reset tests.



282
283
284
285
# File 'lib/message_bus/backends/memory.rb', line 282

def global_unsubscribe
  client.unsubscribe
  @subscribed = false
end