Class: RailsEventStore::AfterCommitAsyncDispatcher
- Inherits:
-
AfterCommitDispatcher
- Object
- AfterCommitDispatcher
- RailsEventStore::AfterCommitAsyncDispatcher
- Defined in:
- lib/rails_event_store/after_commit_async_dispatcher.rb
Instance Method Summary collapse
-
#initialize(scheduler:) ⇒ AfterCommitAsyncDispatcher
constructor
A new instance of AfterCommitAsyncDispatcher.
Methods inherited from AfterCommitDispatcher
#async_record, #call, #run, #verify
Constructor Details
#initialize(scheduler:) ⇒ AfterCommitAsyncDispatcher
Returns a new instance of AfterCommitAsyncDispatcher.
5 6 7 8 9 10 11 |
# File 'lib/rails_event_store/after_commit_async_dispatcher.rb', line 5 def initialize(scheduler:) warn <<~EOW DEPRECATION WARNING: `RailsEventStore::AfterCommitAsyncDispatcher` is deprecated and will be removed in the next major release. Use `RailsEventStore::AfterCommitDispatcher` instead. EOW super end |