module RailsEventStore::CorrelatedHandler

Public Instance Methods

perform(event) click to toggle source
Calls superclass method
# File lib/rails_event_store/async_handler_helpers.rb, line 51
def perform(event)
  Rails
    .configuration
    .event_store
    .with_metadata(correlation_id: event.metadata[:correlation_id], causation_id: event.event_id) { super }
end