Sha256: df4c9e338bb73adf1f6b130f92e629ad11a4b93d4b1c76cb0a48cb1feb7c0d9d

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

# frozen_string_literal: true

module SidekiqUniqueJobs
  class Lock
    class UntilExecuting < BaseLock
      def execute
        unlock_with_callback
        yield if block_given?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-6.0.0.rc6 lib/sidekiq_unique_jobs/lock/until_executing.rb
sidekiq-unique-jobs-6.0.0.rc5 lib/sidekiq_unique_jobs/lock/until_executing.rb
sidekiq-unique-jobs-6.0.0.rc4 lib/sidekiq_unique_jobs/lock/until_executing.rb