module Sidekiq::Batch::Extension::Worker
Public Instance Methods
batch()
click to toggle source
# File lib/sidekiq/batch/extension/worker.rb, line 7 def batch Thread.current[:batch] end
bid()
click to toggle source
# File lib/sidekiq/batch/extension/worker.rb, line 3 def bid Thread.current[:batch].bid end
valid_within_batch?()
click to toggle source
# File lib/sidekiq/batch/extension/worker.rb, line 11 def valid_within_batch? batch.valid? end