Sha256: 67bb4611424ff700389a137f7b102776b152e32372ea9c586279594b0fbe713b
Contents?: true
Size: 228 Bytes
Versions: 2
Compression:
Stored size: 228 Bytes
Contents
# frozen_string_literal: true module SidekiqUniqueJobs class Lock class UntilExecuting < BaseLock def execute(callback) delete callback.call yield if block_given? end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-unique-jobs-6.0.0.rc2 | lib/sidekiq_unique_jobs/lock/until_executing.rb |
sidekiq-unique-jobs-6.0.0.rc1 | lib/sidekiq_unique_jobs/lock/until_executing.rb |