class SidekiqUniqueJobs::Middleware::Client
def call(*, &block)
- Yield: - when the lock is successful
Yield: - when uniqueness is disable
Other tags:
- See: https://github.com/mperham/sidekiq/wiki/Middleware -
See: https://github.com/mperham/sidekiq/wiki/Job-Format -
See: SidekiqUniqueJobs::Middleware#call -
def call(*, &block) lock(&block) end