class RailsEventStore::AfterCommitAsyncDispatcher::AsyncRecord
Attributes
Public Class Methods
Source
# File lib/rails_event_store/after_commit_async_dispatcher.rb, line 32 def initialize(schedule_proc) @schedule_proc = schedule_proc end
Public Instance Methods
Source
# File lib/rails_event_store/after_commit_async_dispatcher.rb, line 43 def before_committed! end
Source
# File lib/rails_event_store/after_commit_async_dispatcher.rb, line 36 def committed!(*) schedule_proc.call end
Source
# File lib/rails_event_store/after_commit_async_dispatcher.rb, line 40 def rolledback!(*) end
Source
# File lib/rails_event_store/after_commit_async_dispatcher.rb, line 46 def trigger_transactional_callbacks? end