Module: Synapse::EventBus::EventListener Abstract
- Included in:
- WiringEventListener, ProcessManager::ProcessManager
- Defined in:
- lib/synapse/event_bus/event_listener.rb
Overview
This module is abstract.
Represents a listener that can be notified of events from an event bus. Implementations are highly discouraged from throwing exceptions.
Consider using the event listener mixin that uses message wiring.
Instance Method Summary collapse
-
#notify(event) ⇒ undefined
abstract
Called when an event is published to the event bus.
Instance Method Details
#notify(event) ⇒ undefined
This method is abstract.
Called when an event is published to the event bus
15 |
# File 'lib/synapse/event_bus/event_listener.rb', line 15 def notify(event); end |