Class: RailsEventStore::AsyncProxyStrategy::Inline

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_event_store/active_job_dispatcher.rb

Instance Method Summary collapse

Instance Method Details

#call(klass, event) ⇒ Object



31
32
33
# File 'lib/rails_event_store/active_job_dispatcher.rb', line 31

def call(klass, event)
  klass.perform_later(YAML.dump(event))
end