Module: Delayed::Batch

Defined in:
lib/delayed/batch.rb

Defined Under Namespace

Classes: PerformableBatch

Class Method Summary collapse

Class Method Details

.serial_batch(opts = {}) ⇒ Object


28
29
30
# File 'lib/delayed/batch.rb', line 28

def serial_batch(opts = {})
  prepare_batches(:serial, opts){ yield }
end