Class: Emittance::Synchronous

Inherits:
Broker
  • Object
show all
Defined in:
lib/emittance/brokers/synchronous.rb,
lib/emittance/dispatchers/synchronous.rb

Overview

Synchronously dispatches the event to watchers.

Defined Under Namespace

Classes: Dispatcher

Constant Summary

Constants inherited from Broker

Broker::DISPATCHER_KLASS_NAME

Class Method Summary collapse

Methods inherited from Broker

dispatcher

Class Method Details

.process_event(event) ⇒ Object

(@see Emittance::Broker.process_event)



10
11
12
# File 'lib/emittance/brokers/synchronous.rb', line 10

def process_event(event)
  dispatcher.process_event event
end