Module: SidekiqUniqueJobs::Reflectable
- Included in:
- Lock::BaseLock, Locksmith, Middleware::Client, OnConflict::Reschedule
- Defined in:
- lib/sidekiq_unique_jobs/reflectable.rb
Overview
Module Reflectable provides a method to notify subscribers
Instance Method Summary collapse
Instance Method Details
#reflect(name, *args) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/sidekiq_unique_jobs/reflectable.rb', line 10 def reflect(name, *args) SidekiqUniqueJobs.reflections.dispatch(name, *args) nil rescue UniqueJobsError => ex SidekiqUniqueJobs.logger.error(ex) end |