Module: RailsEventStore::CorrelatedHandler

Defined in:
lib/rails_event_store/async_handler_helpers.rb

Instance Method Summary collapse

Instance Method Details

#perform(event) ⇒ Object



51
52
53
54
55
56
# File 'lib/rails_event_store/async_handler_helpers.rb', line 51

def perform(event)
  Rails
    .configuration
    .event_store
    .(correlation_id: event.[:correlation_id], causation_id: event.event_id) { super }
end